Cannot disable password authentication for sudo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
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://
100 /var/lib/
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
ProcVersionSign
SourcePackage: sudo
Uname: Linux 2.6.31-14-generic i686
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 d/fetchmail awaken
sudo /etc/init.
... 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.)