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

Re: /sys/power/state question with sudoers!



On Sat, Aug 18, 2007 at 09:22:00AM -0500, Gnu_Raiz wrote:
> 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 
> everytime.

It would be nice to post your sudoers file ;)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: