Article View: net.micro.hp
Article #129Re: Trouble with HP-UX 8-char login names
From: Joseph S. D. Yao
Date: Tue, 04 Feb 1986 07:09
Date: Tue, 04 Feb 1986 07:09
11 lines
1252 bytes
1252 bytes
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}
Technical Details
Message-ID:
<233@hadron.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rlgvax!hadron!jsdyReferences:
<602@puff.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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 Summary: 8-bit arrays