LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   MEPIS (https://www.linuxquestions.org/questions/mepis-64/)
-   -   More info on sudo (https://www.linuxquestions.org/questions/mepis-64/more-info-on-sudo-918263/)

nandu neerukonda 12-11-2011 11:04 PM

More info on sudo
 
Hi Guys,

I need to give few administrative access to only 2-3 users accounts.
Where & how to configure it?

Thanks
Nandu

fukawi1 12-11-2011 11:19 PM

If you have already enabled sudo for one account, then it is simply a matter of adding the required users to the group, "wheel", or on some distro's it may be "sudo".

If sudo hasn't been enabled yet.
Run "visudo" as root, and uncomment the line (again, this line could be "%wheel"):
Code:

%sudo ALL=(ALL) ALL
Which will enable any users in the group "sudo" to run any commands that root can run (so all of them), by entering their OWN password.

Code:

man sudoers
has more information for more detailed sudo setups, and only allowing access to certain commands.


All times are GMT -5. The time now is 10:08 AM.