On Friday 10 September 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
>

Have you tried using groups? maybe use the default group %wheel to grant 
access to all users to hibernate with NOPASSWD, but use an admin group 
like %sys to grant access to all commands with PASSWD.

This would be much cleaner in my opinion.

> Ranjan

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to