Date: Sat, 14 May 2005 15:57:26 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: Darren Pilgrim <dmp@bitfreak.org> Cc: freebsd-current@freebsd.org Subject: Re: cannot log on as root after upgrade Message-ID: <86br7dewqh.fsf@xps.des.no> In-Reply-To: <000001c55856$fe6a7ab0$0a2a15ac@Sonomago> References: <000001c55856$fe6a7ab0$0a2a15ac@Sonomago>
next in thread | previous in thread | raw e-mail | index | archive | help
"Darren Pilgrim" <dmp@bitfreak.org> writes: > I'm having this same problem with on a system built from sources pulled d= own > today. Logging in on the console as root produces the "pam_acct_mgmt(): > authentication error" message. However, logging in as a normal user works > fine and I can then `su -` to root without error, so I know my password > files are ok. > > I completely reinstalled my /etc/pam.d directory, no luck. Re-built and > installed the world as single user, no luck, still broken. This is not a PAM bug. Someone broke ttyname() so the code that checks if you are logging in on a secure tty fails. Quick workaround: comment out the pam_securetty line in /etc/pam.d/login. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86br7dewqh.fsf>