cannot log on as root after upgrade

Darren Pilgrim dmp at bitfreak.org
Sun May 15 14:20:24 PDT 2005


From: "Dag-Erling Smørgrav" [mailto:des at des.no] 
> "Darren Pilgrim" <dmp at bitfreak.org> writes:
>>
>> [Paraphrased] Logging in on the console as root produces
>> "pam_acct_mgmt(): authentication error" message and login failure.
> 
> 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.

The workaround has made direct root logins possible again, thanks.

I've just now noticed another error message--this one upon log-out.  I don't
have the exact text of the error message (I couldn't find it in the log
files), but the text is like "no utmp entry for tty??" or "could not remove
utmp entry for tty??" with the question marks actually there, instead of the
real name of the tty I was logged in on.  Is this error message also due to
the breakage?




More information about the freebsd-current mailing list