0
votes
0answers
19 views

how do i fix this problem? [duplicate]

~$ sudo apt-get -f install E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process ...
0
votes
2answers
324 views

How to add my user account to admin group (13.10 desktop) [duplicate]

I was trying to extract a web template into the hosting folder /docroot on the web service, which is working, however I do not have permission to complete the action. I cannot stand being locked out ...
0
votes
0answers
157 views

'w' command not showing users list when not root ('who' does)

I have multiple users logged on my server (ubuntu 12.10), with ssh. None of them has root privileges. If I then log in with my admin account and type (without sudoing) admin1@server:~$ w the ...
6
votes
2answers
28k views

How to give nopasswd access to multiple commands via sudoers?

Below is what I know: I have to add this below line in sudoers file to give rights to the user for particular task. user_name ALL=NOPASSWD: /usr/bin/apt-get install In this case I want to give ...
1
vote
0answers
35 views

How can I add my user to the sudo list? [duplicate]

Possible Duplicate: How do I add myself back as a sudo user? I have just installed Ubuntu 12.04, Now I am using standard user, but I want to change my user to admin when I got the following ...
11
votes
3answers
24k views

How do I add myself into the sudoers group? [duplicate]

Possible Duplicate: How do I add a user to the “sudo” group? I've added myself back into the admin's group I think, by following this. But I still can't do commands like: sudo aptitude ...
1
vote
1answer
354 views

Log viewer cant open syslog after messing up groups

I was doing some VirtualBox stuff today and I had so add my user to vbox group, well I did it wrong and I removed myself from sudoers. I used the recovery console and fixed it with this command: ...
4
votes
4answers
11k views

Deleted Myself from Admin Group - Now Getting Error usermod: cannot lock /etc/passwd; try again later [duplicate]

Possible Duplicate: Cannot lock '/etc/group' in recovery mode I have a laptop with Ubuntu 11.10 that is shared between myself and two other family members. My user id was setup as ...
1
vote
3answers
137 views

How do I limit administrative tasks for normal users?

I want to limit administrative tasks, so users cannot mess up the system. My idea was to install Ubuntu, set up automatic login, and hand it to the users without them knowing the password. However, I ...
8
votes
1answer
530 views

how come sudo give root privileges for a user not in /etc/sudoers?

I just wonder how sudo privileges are found with ubuntu, from a technical point of view. Users with sudo privileges are not present in /etc/sudoers, so this looks a little bit exotic. Was the source ...
3
votes
3answers
1k views

I want a non admin user to install software. What commands do I need to add to sudoers?

I want to edit the /etc/sudoers file so that a non-admin user can install software via the Software Center in Linux Mint 10. The reason for this is that I want a user to have the capability to ...