Re: somewhat OT: sudo question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 10 Sep 2010 22:11:34 -0500 Suvayu Ali
<fatkasuvayu+linux@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux