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

/sys/power/state question with sudoers!

I am writing a shell script that requires sudo so I can hibernate my 
machine, as package hibernate has a bug that disallows its useage.  When 
I go to change the permissions using visido to allow no password, and 
access to the /sys/power/state file I still get no permission errors. I 
even have set /sys/power/* to allow the user that whole directory. This 
will be in shell script, so I have the NOPASSWD option set on 
the /etc/sudoers line. Anyone have an idea to get this working, or is 
this a bug in the sudo package?

I want to use hibernate without having to type the root password 


Reply to: