cannot log on as root after upgrade

Dag-Erling Smørgrav des at des.no
Sat May 14 06:57:59 PDT 2005


"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


More information about the freebsd-current mailing list