sudo on ubuntu. what's wrong

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Thu Dec 30 04:37:21 UTC 2004


On Thu, Dec 30, 2004 at 04:50:55AM +0100, ultrakorne wrote:
> 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

Ubuntu configures sudoers(5) correctly, as shown in the lines below:

> # Added by Ubuntu installer
> ultra ALL=(ALL) ALL

The only change you need to make using visudo(8) is:

ultra ALL=(ALL) NOPASSWD: ALL

-- 
Daniel T. Chen          crimsun at fungus.sh.nu
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041229/fe410d7c/attachment.sig>


More information about the ubuntu-users mailing list