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)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Aug 18 11:14:54 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 02:23:02 EDT
|