On Friday 07 Jun 2013 06:21:00 Fast Turtle wrote:
> Turns out there's no shutdown group on my system now so it must be added
> when kde is installed with powerdevil - oh well. Guess I'll have to either
> create it or go the sudo route since I'm more concerned with what works.

These are my relevant entries in /etc/sudoers to avoid entering a passwd:

ME              BOX1 = NOPASSWD: /sbin/shutdown -h now
ME              BOX1 = NOPASSWD: /sbin/shutdown -r now
ME              BOX1 = NOPASSWD: /usr/sbin/hibernate

after I have defined as:

Host_Alias      BOX1 = <domain_name>  <--could also use IP address here <--
User_Alias      ME = <my_username>


PS. Don't forget to use visudo to edit your sudoers file.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to