Cannot disable password authentication for sudo

Bug #460761 reported by bkrzem
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Karmic by VVhiteMAN

Bug Description

Binary package hint: sudo

Hello,

I added myself to the sudo group:
   sudo usermod -a -G sudo myusername
then used 'visudo' to modify /etc/sudoers according to the instructions in the comments
(i.e. uncommented %sudo ALL=NOPASSWD: ALL line)

then logged out and logged in again. But 'sudo' keeps asking for password.

my karmic was installed from mini.iso image.

$ sb_release -rd
Description: Ubuntu 9.10
Release: 9.10

$ apt-cache policy sudo
sudo:
  Installed: 1.7.0-1ubuntu2
  Candidate: 1.7.0-1ubuntu2
  Version table:
 *** 1.7.0-1ubuntu2 0
        500 http://gb.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
Date: Sun Oct 25 19:02:14 2009
DistroRelease: Ubuntu 9.10
Package: sudo 1.7.0-1ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: sudo
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
bkrzem (bkrzem) wrote :
Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

I have the same problem. This entry:

 karlheg ALL = NOPASSWD: /etc/init.d/fetchmail

... worked fine in Maverick, but no longer functions in a fresh install of Natty. In Maverick, I could type:

 sudo -k
 sudo /etc/init.d/fetchmail awaken

... and not enter a password (or swipe my finger on the thinkfinger reader). But now, in Natty, it prompts for the password (or fingerprint) anyway. (I also tried with the fingerprint reader disabled in pam; same result.)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sudo (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.