sudo problems
ultrakorne
ultrakorne at paranoici.org
Thu Dec 30 00:54:33 UTC 2004
Ingo Lantschner wrote:
> 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.
>
>
no it isnt, ultra is the user, that ALL is refer to where the previlege
is valide...
i tryed
ultra localhost = NOPASSWD: /usr/bin/savepower
and
ALL localhost = NOPASSWD: /usr/bin/savepower
and nothing has changed!
More information about the ubuntu-users
mailing list