passwordless sudo

Digvijay Patankar dbpatankar at gmail.com
Wed Nov 30 10:45:07 UTC 2011


On Wed, Nov 30, 2011 at 4:08 PM, Hiisi <hiisi at fedoraproject.org> 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.
> What the heck and how do I solve this mystery?
> --
> Hiisi.
> Registered Linux User #487982. Be counted at: http://counter.li.org/
> --
> Spandex is a privilege, not a right.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

Make sure you are using visudo to edit sudoers file.

-- 
*Digvijay Patankar*
Senior Research Fellow,*
*
Dept. of Civil Engineering,
Indian Institute of Science,
Bangalore - 560012*
*


Please avoid sending me Word or PowerPoint attachments.

See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20111130/f4e794e7/attachment.html 


More information about the users mailing list