Thanks to wmills_at_wellsfargo.com
The problem was that a user's account was disabled on one of my NIS
client machines only, but was fine on the NIS server. The original
disabling had come when I as root changed his password (using passwd)
on the NIS client only.
By doing
/usr/tcb/bin/edauth -dp username
and zeroing out the numunsuclog field and making sure the u_lock_at_ field
was there, the user has now been re-enabled.
This solves half of the problem.
The other half of the problem is a console to which people cannot log on.
We get the message "Terminal is disabled, see account administrator"
People have asked... does it appear in devassign and ttys... the answer is yes.
Some have also suggested
/usr/tcb/bin/edauth -dt \:0
and zeroing out the t_failures field.
The entry at first looks like this:
\:0|\:0.0:\
:t_devname=\:0:t_uid=liujian:t_logtime#923404808:t_unsucuid=timm:\
:t_unsuctime#923851367:t_failures#91:t_login_timeout#0:t_xdisplay:\
:chkent:
When I do the edit mentioned above, it does take it
\:0|\:0.0:\
:t_devname=\:0:t_uid=liujian:t_logtime#923404808:t_unsucuid=timm:\
:t_unsuctime#923851367:t_failures#0:t_login_timeout#0:t_xdisplay:\
:chkent:
But as soon as another login is attempted, the message again appears,
"Terminal is disabled, see account administrator"
And the record reverts back to the way it was:
\:0|\:0.0:\
:t_devname=\:0:t_uid=liujian:t_logtime#923404808:t_unsucuid=root:\
:t_unsuctime#923852263:t_failures#93:t_login_timeout#0:t_xdisplay:\
:chkent:
Any clues what is going on here?
Steve Timm
Received on Sun Apr 11 1999 - 17:38:21 NZST