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

learn more… | top users | synonyms

2
votes
1answer
46 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
70 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
239 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 ...
0
votes
0answers
75 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
126 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
56 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
56 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
3answers
571 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
52 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
59 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. ...
1
vote
1answer
4k 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
369 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
75 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 ...
0
votes
0answers
18 views

Additional user cannot open display [duplicate]

I'm trying to use Wireshark as a non-root user. There is a user called wireshark on my system that is allegedly allowed to capture frames, so I try to run Wireshark as him. The problem is that when I ...
1
vote
3answers
175 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
1k 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
36 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
192 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
94 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???
37
votes
4answers
4k 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 ...
0
votes
0answers
634 views

crontab -e unable to save

I am trying to save a cronjob to the crontab file. If i just run: crontab -e, it opens up the file in sublime but when i try to save, it pops up with: Unable to save /tmp/crontab.FKjsLq/crontab If ...
1
vote
2answers
621 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
468 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
616 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
195 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
154 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
201 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
433 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
1k 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
1k 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
58 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
96 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
57 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
489 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
167 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
555 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
416 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 ...
26
votes
5answers
6k 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
675 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
416 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 ...
4
votes
2answers
5k 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 ...
4
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 ...
2
votes
3answers
33k views

How do I gain Root privileges?

How do I gain Root privileges in Ubuntu Desktop 12.04? I installed to a usb stick to try it out. Now when I installed it on a VM, I don't have the same options as I did on the usb stick. Such as ...
1
vote
2answers
1k views

How can I configure the guest user to only be able to run Firefox?

I realy need to give Guest user less privileges: like in older versions. Just Firefox, thats it.
1
vote
1answer
206 views

Why few commands (eg: fdisk -l) do not inform user “you do not have privilege”?

Few commands that need to do sudo remind you that "You do not have the privilege" or "Are you root?" etc. while a few commands do not give such message. For example, if you do fdisk -l instead of ...
21
votes
4answers
113k views

How do I grant sudo privileges to an existing user? [duplicate]

I want to grant a newly created user sudo privileges in Ubuntu. I tried sudo adduser hduser admin but it says no admin group exists. How can I do it?
0
votes
2answers
3k views

How to copy file from downloads to filesystem/bin?

I am pretty new to Ubuntu 12.04. I have a problem using my datacard on it, so I got a program called Sakis 3G. This program is a file after downloading; it opens in gedit. I need to copy this file to ...
3
votes
2answers
923 views

How can I allow unprivileged users to shutdown from the panel? (no sudo)

I set up an old PC with Edubuntu 12.04 for my girls, with an admin account for myself and normal user accounts for both of them. Unfortunately, they are not able to shut down the computer by ...
0
votes
1answer
63 views

Users and Groups No Save Button

I am trying to add User Privileges; Use modems & Connect to wireless & ethernet networks to my current & only user profile. It'll ask for my password & I am admin, but the ...