home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!dcatlas!joet
- From: joet@dcatlas.dot.gov (Joe Trott)
- Subject: Re: Are long login names okay?
- Message-ID: <1992Dec31.162146.4287@dcatlas.dot.gov>
- Organization: U.S Dept. of Transportation
- References: <Dec30.175828.52626@yuma.ACNS.ColoState.EDU>
- Date: Thu, 31 Dec 1992 16:21:46 GMT
- Lines: 34
-
- millerje@CS.ColoState.EDU (Jeff Miller) writes:
-
- >In setting up the LAN at work, it was decided that all logins would have
- >the first initial of the first name, and the last name (i.e. jmiller). I've
- >run into a problem where in the login script, Netware will not map a drive
- >when the name is > 8 characters (why does Netware use this DOS convention?)
- >For example:
- > map N:=fserv1/SYS:USERS/%LOGIN_NAME
-
- >If the login is hlonglastname, the home directory is USERS/hlonglas
-
- >Now my question: Should I make all logins 8 characters instead, truncating
- >the last name, or should I modify the login script to look for the static
- >exceptions (we only have a few people who dont fit the 8 characters), or is
- >there a utility that gives NW scripts a string length and truncate function,
- >so I could do:
- > IF SLEN("%LOGIN_NAME") > 8 THEN map N:=fserv1/SYS:USERS/STRUNC( etc.
-
- Although there will always be at least one static exception ("SUPERVISOR"),
- I have always preferred to limit login names to 8 characters. If a part of
- the name is too long, I may use initials. Abbreviations should not be
- "handles", however. You will want to be able to clearly identify who
- belongs to which account, as will your successor should you have to leave,
- as will other users wishing to send email or otherwise identify other users
- by login name.
- I would recommend against hard-coding the exceptions. You never know how
- many there will eventually be, how many hard-coded mods you'll have to make,
- and how many others after you will curse your name for leaving what could
- turn out to be a difficult to trace semi-documented morass when/if you leave
- or go on vacation or lose an argument with a Mack truck.
- Besides, if you DOS SET USERID="%LOGIN_NAME", other apps can refer to this
- environment variable and use it for file location.
-
- -JTT
-