Re: cannot log on as root after upgrade

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Sat, 14 May 2005 15:57:26 +0200
"Darren Pilgrim" <dmp_at_bitfreak.org> writes:
> I'm having this same problem with on a system built from sources pulled down
> 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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Sat May 14 2005 - 11:57:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC