passwordless sudo

Rich Boyce rich at ebi.ac.uk
Wed Nov 30 10:44:19 UTC 2011


On 30/11/11 10:38, Hiisi wrote:
> Hi, list!
> I'm trying to set up passwordless sudo for myself. It's a shiny brand
> new fresh-installed F16. During first boot I had been asked to create
> a new user and put him to administrative group. I answered yes and
> hence my user is able to run commands using sudo. However in
> /etc/sudoers there's not a mention of my user. I've added the
> following string to it:
> hiisi   ALL=(ALL)       NOPASSWD: ALL
> Apparently it has no effect - I have to enter password each time sudo
> is invoked for the first time.

Try taking out the space after NOPASSWD:

HTH,
Rich


More information about the users mailing list