Re: somewhat OT: sudo question

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

 




On 09/09/2010 09:09 PM, Gregory Hosler wrote:
> Granting administrator privileges is not done gratuitously. Having 2 
> entries,
> for 2 different types of requirements is totally sane.
>
> Having said that, the sudoers manpage gives an example with one line 
> combining both.

Would this do it?

maitra    ALL=(ALL)      NOPASSWD: 
/usr/sbin/pm-hibernate,/usr/sbin/pm-suspend , PASSWD: ALL

-- 
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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux