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

learn more… | top users | synonyms

2
votes
2answers
30 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
28 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
21 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
189 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
48 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 ...
1
vote
0answers
44 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
180 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: ...
0
votes
3answers
1k 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
43 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
35 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
647 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 ...
0
votes
0answers
218 views

Can one add connections to new wireless networks at the login screen using Network Manager?

I've noticed that the Network Manager system tray icon is available at the login screen before I enter my user password, and that it will connect to the networks which have the options "Automatically ...
0
votes
0answers
12 views

How do i give the anonymous pipe to a file root privileges [duplicate]

If i go the a root owned directory (let's say root) and type: sudo echo test > test i get the following error: bash: test: Permission denied So the pipe does not keep the same user as the ...
1
vote
1answer
626 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
104 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
44 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 ...
0
votes
0answers
124 views

How do I disable changing proxy settings?

I've got several machines, running 14.04.1, for kids to access. Each machine has accounts for each kid, as well accounts for several adults. Although I've set a system wide proxy use policy, it ...
2
votes
1answer
53 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
0answers
52 views

Samba server: network printer share restriction

How can I restrict access to only one out of two printers attached to my Ubuntu 10.04 Server? Currently, I am using the default configuration (smb.conf) slightly adapted, however this is standard ...
-1
votes
1answer
250 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 ...
0
votes
0answers
387 views

Minidlna mass storage configuration in Trusty 14.04.1 - Howto?

I reinstalled my desktop for Trusty and I installed minidlna. At Trusty install time I decided to insist in using an internal 1TB SATA drive to store multimedia files for minidlna usage. I had this ...
2
votes
1answer
57 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
345 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
1k 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
262 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
140 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
61 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 ...
0
votes
4answers
4k 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
67 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
137 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. ...
10
votes
1answer
44k 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
1k 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
177 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
560 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
3k 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
72 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
381 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
156 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???
38
votes
4answers
10k 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
1k 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
1k 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
363 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 ?
1
vote
2answers
530 views

Is there a way to lock a specific application, in ubuntu, with 'sudo' method

For instance, if I needed to lock firefox, and whenever someone needs to access it (under the same username as mine) the usual sudo password prompt should appear. I have disabled password prompt by ...
0
votes
1answer
286 views

How do I setup windows samba sharing on my second hard drive so that all users can create and delete files in Unity?

How do I setup windows samba sharing on my second hard drive so that all users can create and delete files in Unity? I need to setup samba with admin privileges.
-1
votes
2answers
637 views

login as root user with full privilages [duplicate]

I dont like to enter password for every software to install or other thing like it.i look for a way that can login with root user as default when ubuntu started. in fact i want login with a user that ...
0
votes
4answers
2k views

Cannot modify files in /root

I'm trying to modify files in the /root folder but I can't because I don't have permission. I don't understand what is happening because i thought i'm logged in with the root but the name is just ...
0
votes
1answer
3k views

Chaning permission of wireless device wlan0

I want to be able to change the permission of wlan0 so that I can use tcpdump to listen on it without elevating myself to root. Currently: tcpdump -i wlan0 gives: tcpdump: wlan0: You don't have ...
1
vote
1answer
66 views

Installed Ubuntu but can't change installed files

I installed Ubuntu on Windows 7. Also, I installed GROMACS software. There is some problem with one of the files located in /usr/local/gromacs/share/top/ folder. I want to make some changes to and ...