somewhat OT: sudo question

JD jd1008 at gmail.com
Sat Sep 11 01:53:51 UTC 2010


On 09/10/2010 06:14 PM, Ranjan Maitra wrote:
>
> No, this does not work, but this one does:
>
> maitra	ALL=(ALL) PASSWD:ALL, NOPASSWD:/usr/sbin/pm-hibernate,/usr/sbin/pm-suspend
>
> Basically, I believe that we need the PASSWD to be before the NOPASSWD case, since otherwise ALL trumps these commands.
>
> Ranjan
>
>
Glad you found a way!


More information about the users mailing list