Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site dual.UUCP Path: utzoo!linus!decvax!microsoft!uw-beaver!tektronix!ucbcad!ucbvax!dual!fair From: fair@dual.UUCP Newsgroups: net.unix-wizards,net.bugs.usg Subject: QUERY: Legal characters in login names? Message-ID: <219@dual.UUCP> Date: Thu, 12-Jan-84 02:53:17 EST Article-I.D.: dual.219 Posted: Thu Jan 12 02:53:17 1984 Date-Received: Sat, 7-Jan-84 02:02:26 EST Organization: Dual Systems, Berkeley, CA Lines: 31 Newsgroup: net.unix-wizards,net.bugs.usg Subject: QUERY: Legal Characters in login names? Does anyone know if there are any (published or unwritten) guidlines for the makeup of a login name? Reason for this question: the USG (Sys III and Sys V) accounting software seems to make the assumption that only alphabetics or numerics, along with the character `$' (WHY?) are legal. In fact, the code for acctcon1 (the connect accounting processor) says something like: if (isaplha(c) || isdigit(c) || c == '$') ... else barf /* new C function */ We just added some login names with the `_' character in them and the connect processing really did barf (the wtmp file was assumed to be out of phase). In addition, the whole accounting system continues to have headaches on 8-character logins. So, what is the story? What is considered to be a valid login name, and if the above fragment makes unreasonable assumptions, why are they made (unanswerable question?). For those are curious, this system is a UniSoft System III 68000. Mats D. Wichmann Erik E. Fair {ucbvax,amd70,zehntel,unisoft,onyx,its}!dual!{fair,mats} Dual Systems Corporation, Berkeley, California