sudo problems

Ingo Lantschner ingo.lists at vum.at
Tue Dec 28 15:47:15 UTC 2004


ultrakorne wrote:
> hi, i have a problem with my warty, i cannot tell sudo to execute a 
> command without a password, i did as man sudoers tells
> i need to run the script savepower without pass
> 
> here is my config
> 
> # sudoers file.
 > # line added by me
 > ultra ALL= NOPASSWD: /usr/bin/savepower

For comparison, a working line;

ALL localhost = NOPASSWD: /sbin/shutdown, /sbin/poweroff, /sbin/halt, 
/sbin/reboot, /bin/cdrecord"

Seems as if you have hostname and ALL in the wrong range ....

HTH Ingo.





More information about the ubuntu-users mailing list