sudo on ubuntu. what's wrong
Markus Kolb
ubuntu-ml at tower-net.de
Thu Dec 30 09:51:45 UTC 2004
On 30.12.2004 04:50, ultrakorne schrieb:
> sorry if i alredy asked this question but i cannot solve and have some
> new info...
> i dont know why i cannot made sudo run as i want on my warty, on deb sid
> i am running succesfully sudo.
>
> i want simply to run ls (for example) as ROOT without password, this is
> my sudoers, and the problem is the system is still asking me the password
[...]
>
> ultra ALL= (root) NOPASSWD: /bin/ls
>
> # User privilege specification
> root ALL=(ALL) ALL
>
> # Added by Ubuntu installer
> ultra ALL=(ALL) ALL
Have you tried another oder of the lines?
Add
ultra ALL= (root) NOPASSWD: /bin/ls
to the end of the file under the line
ultra ALL=(ALL) ALL
which tells sudo again at the moment that it should use passwords for
each command.
Markus
More information about the ubuntu-users
mailing list