sudo problems

albi albi at scii.nl
Tue Dec 28 02:33:05 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
------------ cut ------
> # line added by me
> ultra ALL= NOPASSWD: /usr/bin/savepower
> 
> # User privilege specification
> root  ALL=(ALL) ALL
> 
> # Added by Ubuntu installer
> ultra ALL=(ALL) ALL
> 
> 
> if i execute savepower with user ultra, the system ask me for the 
> password..

hmm, you also have the line :
ultra ALL=(ALL) ALL

why not change that into :
ultra ALL= NOPASSWD: ALL

and see what gives ?





More information about the ubuntu-users mailing list