0
votes
0answers
18 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 ...
3
votes
2answers
1k 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 ...
5
votes
3answers
3k 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
197 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: ...
3
votes
4answers
4k 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
122 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
409 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 ...