Hardy SRU prepared, see
https://bugs.edge.launchpad.net/ubuntu/hardy/+source/sudo/+bug/221395/comments/4
for the patch.

** Description changed:

  [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
+ 
+ TEST CASE:
+ - create a root shell with sudo -i
+ - mv /etc/sudoers{,.old}
+ - apt-get install sudo
+ 
+ With the current version, the "# %sudo" line is somewhere in the middle
+ of the newly created /etc/sudoers. With the updated hardy-proposed
+ version, it is at the very bottom.
+ 
+ - mv /etc/sudoers{.old,}
+ 
+ Restore your original sudoers.

-- 
%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 subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to