Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/12/84; site nbs-amrf.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!amdcad!lll-crg!gymble!umcp-cs!nbs-amrf!libes From: libes@nbs-amrf.UUCP (Don Libes) Newsgroups: net.unix-wizards Subject: length of user id Message-ID: <115@nbs-amrf.UUCP> Date: Wed, 22-Jan-86 15:37:36 EST Article-I.D.: nbs-amrf.115 Posted: Wed Jan 22 15:37:36 1986 Date-Received: Fri, 24-Jan-86 09:52:28 EST Distribution: net Organization: National Bureau of Standards Lines: 16 What is the #define for the length of a user id? All I see on our 4.2 system is the comment, "Assuming the number 8 is unwise." along with the embedding of 8 literally in defining struct utmp in . I could find no other references to user name lengths in any other .h files. I've seen some people do #define USER_ID_LENGTH sizeof(utmp.ut_line) but this makes me leery. Indeed, another UNIX (4.1 derivative) here uses 12 character ids, but has the same comment regarding the number 8 in its . Yes, its recording in utmp has an obvious problem but it doesn't seem to bother any utilities. Don Libes {seismo,umcp-cs}!nbs-amrf!libes