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

learn more… | top users | synonyms

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
104 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
39 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
39 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
59 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
43 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
38 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
125 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
213 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
51 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
197 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
606 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
194 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
137 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
60 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
0answers
92 views

How can I run EtherApe without needing to use sudo?

It's simple enough to grant myself the privileges Wireshark needs: Can I do the same with EtherApe?
-1
votes
4answers
2k 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
57 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
102 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. ...
2
votes
1answer
18k 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
26 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
679 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
113 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
318 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
2k 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
55 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
295 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
118 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
7k 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
888 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
877 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
820 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
277 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 ?
2
votes
2answers
309 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
245 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
520 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
2k 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
62 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 ...
0
votes
1answer
112 views

Check Shutdown Privilege

I'm trying to make a C++ program on Ubuntu that checks if a user can shutdown the PC, and, if so, shut it down for him. So, I'm thinking about getting the user ID, and then, checking if, or if not, ...
2
votes
0answers
58 views

Limited access accounts for a low maintenance deployment?

Forgive me if I haven't done quite as much digging trying to solve this on my own as I could have: I'm currently in Zambia, and my internet access is unpredictible and slow when it's working. I'm ...
2
votes
1answer
550 views

Looking for a better solution to execute a single sudo command when using a normal user account?

I'm logged in with a normal user account that isn't member of the groups sudo and admin. When I run the following example command.. su -c 'sudo some_command_that_needs_sudo' sudo-user ..it's ...
0
votes
1answer
187 views

Admin to root privileges

I'm trying to put up a CS:S(srcds) server, but when I use the given instructions, the terminal says that I don't have the permission to change it. My account is an admin account right now. Can I give ...
2
votes
3answers
651 views

Ways to run Nautilus with elevated privileges [duplicate]

What are the differences between the following ways to run Nautilus with elevated privileges: a) sudo nautilus b) gksu nautilus c) gksudo nautilus Which should I use?
0
votes
1answer
540 views

policykit-desktop-privilege - rules not in effect

my xubuntu installation asks me for my password everytime I try to mount/umount/update software ... all the things that policykit-desktop-privilege should grant me. The user is in both admin and sudo ...
27
votes
5answers
7k views

How to NOT become a root user? Are administrators root?

I installed Ubuntu on my PC. To log in, I use the username and password I created during installation. Does this mean I am a root user? If yes, then how do I become non-root? It looks like non-root ...
0
votes
1answer
858 views

How can I stop a guest session created by startx command?

I was trying to use Ubuntu 12.4 with administrative privileges. So I typed the following commands in bash shell. sudo -v sudo su - startx -- :2 vt8 I don't know what I have done. Now, I can login ...
5
votes
1answer
514 views

How do you create a program launcher with administrative privileges using Alacarte?

How do you create a program launcher with Alacarte (Main Menu) that has administrative privileges? I ask because I seem to have deleted the launcher for Synaptic Package Manager and whenever I start ...
5
votes
2answers
6k views

How can I get an interactive shell as another non-root user?

I'm using Ubuntu 10.04 LTS server, with the default security model (root locked, using sudo to elevate privileges). I occasionally enjoy using sudo -i when I'll need to run a series of commands with ...
5
votes
1answer
3k views

Allow non-admin users to mount drives via nautilus

I want to give mount privilege to the non-admin users to mount the drives via nautilus. I don't want them to give other admin privilege. I also don't want to use setuid method. How can I achieve ...