Subject: Re: sudo broken on -current with pam problems?
To: None <tech-pkg@NetBSD.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-pkg
Date: 01/15/2005 09:38:42
On Fri, 14 Jan 2005, Hisashi T Fujinaka wrote:

> On the machine that builds all the time (through the MKPAM/USE_PAM
> confusion) sudo changed and started asking for an ssh key. The other
> machines just quit working. Now the first machine breaks, too. Trying to
> use sudo gives me the following:
>
> htodd@kerry:~ > sudo ls
>
> We trust you have received the usual lecture from the local System
> Administrator. It usually boils down to these three things:
>
>    #1) Respect the privacy of others.
>    #2) Think before you type.
>    #3) With great power comes great responsibility.
>
> Sorry, try again.
> Sorry, try again.
> Sorry, try again.
> sudo: 3 incorrect password attempts
> Exit 1
> htodd@kerry:~ >
>
> You'll notice that I never got the chance to enter a password.
>
> I'm sure I have my PAM misconfigured, since there was no entry in
> UPDATING to tell me what to do. :)

I didn't see any documentation for this, but my flailing got things to
sort of work:

current(i386) + PAM + sudo didn't work for me, but current + openpam +
sudo did work for me.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte