Public bug reported:

[EMAIL PROTECTED]:~$ sudo visduo
right after Defaults you find the following 2 lines:
# Uncomment to allow members of group sudo to not need a password
#%sudo ALL=NOPASSWD: ALL

Uncomment the sudo line, save the file, make sure you are in the sudo group:
[EMAIL PROTECTED]:~$ cat /etc/group | grep sudo
sudo:x:27:chris

log out & back in - sudo anything and you're still asked for a password

now
[EMAIL PROTECTED]:~$ sudo visduo
add NOPASSWD to the admin line at the bottom:
%admin ALL=(ALL) NOPASSWD: ALL
save, logout/login - sudo now no longer asks for a password

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New

** Changed in: sudo (Ubuntu)
Sourcepackagename: None => sudo

-- 
%sudo ALL=NOPASSWD: ALL seems to have no effect in sudoers
https://bugs.launchpad.net/bugs/131399
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to