same as permissions "file system permissions" - access control based on user, group, or global access.

learn more… | top users | synonyms

0
votes
3answers
22 views

Help with Users in Linux

I need to separate the privileges of two users. One must be able to manage certain folders while the other should manage the rest. My problem is that the root user has all the privileges and could ...
0
votes
2answers
29 views

How to limit users that can use root command

On an Ubuntu workstation with multiple profiles, how do you limit root access to specific profiles.
1
vote
1answer
104 views

how to roll back broken privileges in 14.04?

I am running Ubuntu 14.04.3 32bit OS. A few months ago I wanted to install QTCAM from source which it requires systemd library files. As you know 14.04 Ubuntu doesn't use systemd yet, so, as the ...
1
vote
1answer
18 views

Can I customize users privilege?

I want to create a new user for my friend and let him access to my raspberry pi remotely from another city using SSH. I want to let him do what ever he wants except accessing respi-config other users ...
3
votes
2answers
31 views

Is it normal that when in Ubuntu I can see all of my Windows files? Are my files created in Ubuntu private?

please forgive my lack of knowledge but I am slightly confused, I recently installed Ubuntu as lately I have favoured using certain Linux distros much more than using Windows 10, sadly I have found I ...
0
votes
2answers
70 views

Opera-stable seems to lack premissions/privileges in 14.04

So I installed the official version of Opera named "opera-stable" in the Ubuntu Software Center. When I run it from launcher, it launches twice and displays a message (Translated to English by ...
2
votes
1answer
48 views

is there a way to set permissions like drwxr-xr-x 2?

I can't get my head around priviledges and permissions in Linux. I want to set permissions of /etc/polkit-1/localauthority to drwxr-xr-x 2 755 which its permissions set to stat -c %a localauthority ...
0
votes
2answers
41 views

Start application as root (No command line)

How can I start and application with root privileges, just once. For example I need to start SublimeText with sudo privileges, then I write in a console: $ sudo subl But, I wonder if there's any ...
0
votes
0answers
23 views

How to create a dual boot in order for penetration testing?

Within a dual boot windows / Ubuntu computer how do I set up the Ubuntu portion as the administrator and the windows PC to only have user privileges? I want to use this for penetration testing ...
0
votes
2answers
172 views

execute shell script without entering password

I want to execute a script that requires root privileges without entering a password. There are similar questions/answers but non seems to work for me. I placed my script in /home/kf/bin (I added the ...
0
votes
1answer
38 views

Can we able to Edit/Create a file using 'File Permission'? [duplicate]

Is there any Way to Edit/Create a file in the method of File Permission ? Suppose it is '7' means can we able to change it to '4' ? i.e -rwx to -r ? Is there any code or___ to do?
2
votes
2answers
42 views

When would my application need to run with privileges?

One way of making sure an application is less prone to attack is to make sure it runs with the least privileges required (user mode preferred). I've only usually programmed for Windows using the .NET ...
1
vote
1answer
442 views

Sudo: sessions still open not unmounting

Ubuntu Trusty Tahr 14.04 is running on my computer. By mistake the sudoers file on my computer was edited and now looks like this: Defaults env_reset Defaults ...
0
votes
0answers
46 views

Ubuntu admin user privileges error

When trying to change settings in the network toolbar dropdown, I get this error: Connection activation failed (32) Not authorized to control networking.` When trying to mount a USB drive: Unable ...
4
votes
1answer
419 views

vim unable to write to files even though sudo is used

I find that with vim, if I try and edit a file which as a normal user I do not have write access with, even if I use sudo, I am unable to write to it, although if I use nano to edit the same file it ...
0
votes
2answers
60 views

Shutdown privileges problem

I have found that when I click the shutdown button when logged into a normal user account that once it has terminated all running processes and it says something about a modem shutting down, it can ...
2
votes
0answers
71 views

How to know the all minimum privileges that software needs?

I am using a VPS as a public proxy, and I have begun to realize that I must make my VPS more secure as I have seen in Securing Public Shadowsocks Server. Shadowsocks is a fast tunnel proxy that helps ...
0
votes
1answer
440 views

Lubuntu 14.10 won't update or shutdown

I started up my computer and used the terminal to check some network settings, but when I tried to turn it off again, a message shows up at the bottom of the shut down menu: ...
2
votes
4answers
6k views

Mount Flashdrive: Not Authorized to perform operation

At first this issue seemed to be related solely to usb's. When I insert a USB i get "Unable to mount xGb volume Not Authorized to perform operation" Previously it would prompt for root password to ...
0
votes
1answer
72 views

How to set default read privileges for all localhost projects?

I'm using localhost to develop some web pages (LAMP stack, Lubuntu desktop, trusty 14.04). Each time I create a new folder inside /var/www/html, read privileges seem to be set to owner only by ...
-1
votes
1answer
46 views

Do something in terminal that involve changing user [closed]

I want do something in terminal that involve changing user like: sudo su do something do something exit do something do something sudo su do something do something exit I've tried to do something ...
17
votes
1answer
773 views

“Admin” user automatically has sudo privileges

I added a user named "admin" to my Ubuntu 14.04LTS server, using adduser. I'm used to having to add a user to the /etc/sudoers file when adding a new user that needs sudo privileges, but this time I ...
1
vote
1answer
1k views

Restrict users to sftp access only

I want to jail a group of users with access only to a /var/www/mysitename.com pattern of directory via sftp alone. I do not want to provide shell access either.
1
vote
0answers
158 views

GUI anthentication doesn't work. No privileges

This is on Xubuntu 14.04 64-bit After a forced restart (due to nvidia overheating) I noticed that no sound was playing, and in fact pulseaudio showed only dummy devices. While looking for a solution, ...
0
votes
3answers
65 views

User Only Has Access To One File

I'm working on an appliance that has a web based GUI for setting up the network on an Ubuntu headless system. Initially the system will be set up for DHCP but one of the initial configurations will be ...
2
votes
1answer
70 views

why can user increase nice of process but decrease requires root?

I pulled up top and a program was using ~80-90% CPU. I increased the niceness, to see if I could reduce the load. Then I tried to reduce the nice of the same process back to it's initial level and was ...
0
votes
1answer
847 views

How to make everything run as root in ubuntu? [duplicate]

I have setup a virtual machine for compiling software for linux which I develop on Windows. I setup to automount a windows folder, run compilation scripts and then just shutdown. The machine isn't ...
2
votes
1answer
71 views

Launching text editors with privileges without terminal

I switched to Ubuntu so that I could run my webserver on HHVM rather than WAMP. But I'm encountering basic problems that are slowing down my development time significantly. I feel this is probably a ...
0
votes
2answers
541 views

bypass sudo for a group of commands

I need to bypass sudo for a group of commands for a certain user so the command is just executed without using the sudo
4
votes
3answers
3k views

How can I modify a file that is owned by root?

I installed a program that runs in a browser. I would like to change the background picture it puts up on the screen or modify the existing one. The properties for that file tell me that it is owned ...
1
vote
0answers
400 views

Allow user to run programs as root without password. Would it be the correct solution to my problem?

I have a server which I need to be running certain programs permanently; I'm having problems with two of them and I'm not sure if the solution I've found would be the correct one, so I ask for opinion ...
3
votes
1answer
147 views

Prevent other sudoers to use apt-get command

How can I prevent other sudoers to run apt-get install command? Other commands such as mount and others are OK with them.
2
votes
1answer
63 views

Are any Ubuntu (Linux) vulnerabilities in media applications?

Ubuntu (Linux) has a solid system that permits and requires root privileges to modify the system. However; if an installed application eg. VLC, audacious, some image viewer installed from the ...
2
votes
4answers
7k views

How to use Vlc with sudo privileges?

I'm trying to use Vlc with sudo but it doesn't work. This is the error: VLC is not supposed to be run as root. Sorry. If you need to use real-time priorities and/or privileged TCP ports you can use ...
1
vote
2answers
82 views

User privileges

I have certain files and folders whose read, write, execute privileges I want to keep locked for certain users. I can use chmod XXX <filepath> for locking file privileges, but the user can ...
0
votes
1answer
201 views

Why do I need administrative privileges to use chsh?

I was working on a Ubuntu system where I did not have administrative privileges, and I couldn't change shells (from tcsh to bash) using chsh. I solved the problem writing in the .tcshrc to open bash. ...
19
votes
1answer
105k views

Give user write access to folder [duplicate]

How do i give the user 'testuser' write privileges on the folder: /var/www/test/public_html
1
vote
0answers
27 views

I changed my password to none and now i cant authenticate nor even cant do sudo? [duplicate]

I have admin rights. Could there be a way to change back my pass. I dont even know whats my password is because I already set it to "none' now its very hard to install apps. Need help please ! Fast.
6
votes
1answer
2k views

How to configure pkexec to not ask for password?

I have a GUI application that needs to call a daemon (written in Python) with superuser privileges. I would like to do this without prompting the user for a password. Since the daemon is a script, I ...
0
votes
2answers
308 views

How to log in to admin account from a non-admin account?

I have an admin account with sudo privilege. I have created a new user but haven't given a sudo privilege to it. Then I logged in as that new user: sudo -i -u foo_user Now I want to get back to my ...
1
vote
3answers
934 views

Restore accidentally with rm'ed pam.conf?

I have accidently removed the files /etc/pam.conf and /etc/security/pam_env.confusing rm. Now I get this error message when I try to use sudo: sudo: unable to initialize PAM: No such file or ...
1
vote
1answer
5k views

sudo mysqldump : Permission denied

I am trying to run sudo mysqldump with user account but I get : Permission denied message If I switch to sudo su then it works. The question is why sudo gives permission denied? should i give ...
0
votes
1answer
91 views

Why no PGAdmin in launcher for standard user?

I have installed PGAdmin and it all works well. But when I log in as a Standard User on Ubuntu 12.04 I don't see PGAdmin in the launcher. I have other programs like Libre Office, Lazarus and ...
4
votes
1answer
467 views

Lost privileges since upgrading to 13.10

Since upgrading to 13.10, I no longer have the 'privileges' to do the following things: Mount USB/CDROM drives Run software centre or software updater Press the GUI shut down or restart buttons ...
0
votes
1answer
248 views

Ubuntu Opera works only with root rigths

Opera doesn't start if I don't start it with sudo opera. Which can be the problem???
47
votes
6answers
14k views

Why do we need to be root in terminal for shutdown and restart?

When we install/remove/update packages or make any changes which require administrative privileges we are prompted for the password of admin user who has the sudo privileges - this happens both via ...
1
vote
2answers
2k views

How to limit user access to selected applications?

I would like to give a user (mom and dad) only access to these 4 applications: Google Chrome Libreoffice Calc and Writer vlcplayer Of course they are locked in the user home directory. And also of ...
0
votes
2answers
2k views

How to permit SUID

I need to permit suid for my user account on my ubuntu 13.04. According to the mount command the bit flag for my account is nosuid. how do i change it to suid.
0
votes
2answers
1k views

effective user id not changing when setting uid to root

I'm currently reading a book on programming with C, i got to a part where i got to write a program which will display the real uid and effective uid that the file is being executed on. After compiling ...
0
votes
1answer
479 views

Stop uploading to internet in ubuntu

I am using Ubuntu 12.04 I want to disable uploading files to internet (dropbox or email or any website) from my machine Is there any way to applied this in Ubuntu ?