somewhat OT: sudo question
JD
jd1008 at gmail.com
Thu Sep 9 18:59:18 UTC 2010
On 09/09/2010 11:41 AM, Ranjan Maitra wrote:
> Hi,
>
> I would like to set up sudo permissions for myself (let us say) such
> that I do not need password for /usr/sbin/pm-hibernate
> or /usr/sbin/pm-suspend but need it for everything else. Anyone know
> off-hand how this can be done by adding lines in the /etc/sudoers file?
>
> Many thanks and best wishes,
> Ranjang
Append a line like the following to /etc/sudoers
ranjan ALL=(ALL) NOPASSWD: ALL
More information about the users
mailing list