Upgrading sudo to 1.7.2.2 doesn't work with OPIE

Kirk Strauser kirk at strauser.com
Thu Feb 4 16:27:01 UTC 2010


I'm using FreeBSD 8-STABLE from yesterday. I had sudo 1.6.9.20 installed 
and used portupgrade to upgrade it to 1.7.2.2. At this point, it stopped 
working:

$ sudo -v
otp-md5 [something]
Password:
Sorry, try again.
otp-md5 [something]
Password:
Sorry, try again.
otp-md5 [something]
Password:
Sorry, try again.
sudo: 3 incorrect password attempts

This is using the dist sudoers file, edited to allow me to use it. 
Reverting to the previous version works correctly:

# pkg_delete -f sudo-1.7.2.2
# pkg_add sudo-1.6.9.20.tbz
Will not overwrite existing /usr/local/etc/sudoers file.
# exit
$ sudo -v
otp-md5 [something]
Password:
$

Any idea why that may be or how I could troubleshoot it, short of 
bisecting the sudo releases until I find the culprit?
-- 
Kirk Strauser


More information about the freebsd-questions mailing list