Just a little more info on this. I noticed on my server which I've not done
the pam/shadow update emerge yet, this same anomolie occurs... Any ideas on
why? 

> -----Original Message-----
> From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 09, 2006 2:46 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] sudo requires password twice
> 
> I recently did an update world and had that 'pam'/'shadow' issue. 
> Followed these pages:
> http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_s
> hadow_and_pam_
> login_conflict
> http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg35692.html
> 
> Everything seems fine. 
> I've rebooted many times since. 
> I can login from ssh or console. 
> 
> One odd behaviour:
> 
> [EMAIL PROTECTED] ~ $ sudo ifconfig
> Password:
> Password:
> eth0      Link encap:Ethernet  HWaddr 00:08:74:E0:5C:3B  
>           inet addr:172.16.35.234  Bcast:172.16.63.255  
> Mask:255.255.224.0
>           ...
> 
> Whenever I first type 'sudo' I am prompted twice?! Then of course sudo
> remembers me for 5 minutes or whatever the timeout is, so 
> subsequent 'sudo'
> calls are not prompted.
> 
> I don't know if this is relevant, but perhaps it has to do 
> with the pam
> thing above?
> 
> locutus ~ # cat /etc/pam.d/sudo
> # File autogenerated by pamd_mimic_system in pam eclass
> 
> auth       required     /lib/security/pam_stack.so service=system-auth
> auth       required     /lib/security/pam_nologin.so
> 
> auth            include         system-auth
> account         include         system-auth
> password        include         system-auth
> session         include         system-auth
> 
> ÐÆ5ÏÐ 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
gentoo-user@gentoo.org mailing list

Reply via email to