[sudo-users] Running visudo

Carville, Stephen scarville at LANDAM.com
Fri Jun 6 14:43:42 EDT 2008


> Is there any way to run visudo with another user than root ?

Yes but only root can read the sudoers file.  Maybe I'm misunderstanding your request.

> I created a user named power, and I´d like enable power user to run
> visudo.

You could try a rule like:

 Host_Alias  POWER_BOXES = "list, of, machines, power, can, run, visudo, on"

 power    POWER_BOXES = /usr/sbin/visudo

--
Stephen Carville <scarville at landam.com>
Systems Engineer
Land America
1.626.667.1450 X1326
#####################################################################
That which does not kill us often hurts us a lot.






More information about the sudo-users mailing list