Query related to sudo?
Hello Guys,
I have Ubuntu 8.10 running on my HP Proliant. I have created a user with name "tux" during the installation.Whenever I need to perform any action I just provide : Code:
$ sudo /etc/init.d/networking restart Now I have created a user called joe. Now when i perform any operation it says: Code:
Code:
root ALL=(ALL) ALL joe ALL=(ALL) ALL I have been using Red Hat for long time. Just want to know what exact entry I should make for this user if I want to give him specific permission. |
Go to System/Administration/Users_And_Groups and hit the Unlock button as tux, enter tux password. Tux belongs to the admin group. Here you can add a new user, this may be where you may have added joe. Highlight joe and hit properties/user_priviledges and put a check in the box next to "Administer system".
Although I have not tried this, you probably do not have to add anything in /etc/sudoers for joe as there is already an entry for those belonging to the admin group. |
Also, to edit the /etc/sudoers file, issue command:$ sudo visudo
To only allow this new user certain privileges instead of admin powers, look at section "Only allowing a user to run a particular command" in this howto --> http://www.wlug.org.nz/SudoHowto |
All times are GMT -5. The time now is 01:11 PM. |