-   MEPIS (
-   -   More info on sudo (

nandu neerukonda 12-12-2011 12:04 AM

More info on sudo
Hi Guys,

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


fukawi1 12-12-2011 12:19 AM

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"):

%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.


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 05:54 AM.