On 13/06/2011 07:36, Owain Clarke wrote:
>
>> %users ALL=(ALL) NOPASSWD: /usr/sbin/pm-suspend
> Thanks, Keith, but I've done this, and it still prompts for password.
> I am a member of the users group. Any other ideas?
The order of entries in sudoers is important - I think it uses the last
match in the file, and a later line in the file may match you but not
have the NOPASSWD: field.
Simon