Length of User names
Leslie Mikesell
les at chinet.chi.il.us
Thu Jun 6 09:52:28 AEST 1991
In article <3614 at litchi.bbn.com> rsalz at bbn.com (Rich Salz) writes:
>> consider
>>those applications that attempt to get usernames and provide only 8+1
>>characters of storage for them
>Such programs are fairly badly written since the header file has
>warned about using "8" for some time and you can safely get the maximum
>allowable size by using sizeof.
Well, you can consider SysVr3's /bin/mail to be fairly badly written, then.
If you use login names >8 characters, mail that matches the first 8
characters of a login name is accepted and up to 14 characters of the
mail address is used for the filename in /usr/mail. If there was a
mismatch beyond the first 8 characters, the user won't be able to
find or retrieve it.
Les Mikesell
les at chinet.chi.il.us
More information about the Comp.unix.wizards
mailing list