somewhat OT: sudo question

JD jd1008 at gmail.com
Fri Sep 10 04:25:24 UTC 2010



On 09/09/2010 09:09 PM, Gregory Hosler wrote:
> Granting administrator privileges is not done gratuitously. Having 2 
> entries,
> for 2 different types of requirements is totally sane.
>
> Having said that, the sudoers manpage gives an example with one line 
> combining both.

Would this do it?

maitra    ALL=(ALL)      NOPASSWD: 
/usr/sbin/pm-hibernate,/usr/sbin/pm-suspend , PASSWD: ALL



More information about the users mailing list