Re: [Hampshire] Sudo question

Top Page

Reply to this message
Author: Keith Edmunds
Date:  
To: hampshire
Subject: Re: [Hampshire] Sudo question
On Sun, 12 Jun 2011 13:54:12 +0100, kae@??? said:

>     %users ALL=(ALL) NOPASSWD: ALL


apologies; the above will work, but isn't restricted to pm-suspend. That
would be:

     %users ALL=(ALL) NOPASSWD: /usr/sbin/pm-suspend


(Assuming that is the location of pm-suspend, which is likely).
--
"You can have everything in life you want if you help enough other people
get what they want" - Zig Ziglar.

Who did you help today?