schaefer@puff.UUCP (Matthew Schaefer) (01/31/86)
I am having problems with 8-character login names on an HP9836U running HP-UX 2.1. If your login name is 8 characters, when you try to log in and mistype the password, and then try it again, you can't log in until someone else logs in. Also, if password aging is used to force a password for new users (i.e. name:,..:etc...), a user with a login of 7 or less characters gets "your password has expired, please choose a new one", while 8 characters gets "your password has expired, permission denied". Also, it seems that the external terminal does this more often than the internal console terminal. Has anyone else ever experienced this or can they speculate on the problem? If so, please mail me or post to net.micro.hp. Thanks in advance, Matt Schaefer.
hope@gatech.CSNET (Theodore Hope) (02/01/86)
Something about "can't log in until some other user does"....
Try giving "login:" a control-D. I believe that will cause it to exit and a
new getty will come up.
--
Theodore Hope
School of Information & Computer Science, Georgia Tech, Atlanta GA 30332
CSNet: hope@gatech ARPA: Hope%GATech.CSNet @ CSNet-Relay.ARPA
uucp: ...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-sally}!gatech!hopejsdy@hadron.UUCP (Joseph S. D. Yao) (02/04/86)
Old login/passwd code used to try to put nul-terminated (or not)
login names in 8-character arrays. Needless to say, this overflows
if the logname is >= 8 chars. Although the > part was handled, the
= part was not (including the 8th char in an 8+ char logname). I'm
surprised that this code persists, but can't access s5 code right
now. If you are a source licensee, go in and change all logname
references to correctly reference 8-char lognames terminated by a
9th NUL char; if you are not, then use lognames <= 7 chars.
--
Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP}