On Fri, 10 Sep 2010 22:11:34 -0500 Suvayu Ali
<fatkasuvayu+li...@gmail.com> wrote:

> 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.

Yes, of course, however only I have an account on this machine so it is
probably enough....

Thanks, of course, for your helpful comments!!

Ranjan

> 
> > 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
> 
-- 
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