Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rlgvax!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: net.micro.hp,net.unix,net.unix-wizards Subject: Re: Trouble with HP-UX 8-char login names Message-ID: <233@hadron.UUCP> Date: Tue, 4-Feb-86 02:09:33 EST Article-I.D.: hadron.233 Posted: Tue Feb 4 02:09:33 1986 Date-Received: Wed, 5-Feb-86 05:07:53 EST References: <602@puff.UUCP> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 11 Keywords: help, login, passwd, strange Xref: watmath net.micro.hp:158 net.unix:7010 net.unix-wizards:16656 Summary: 8-bit arrays 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}