Thread View: comp.unix.sys5.r4
5 messages
5 total messages
Started by Phil Tsao
Tue, 21 Oct 1997 00:00
login name length limit?
Author: Phil Tsao
Date: Tue, 21 Oct 1997 00:00
Date: Tue, 21 Oct 1997 00:00
11 lines
933 bytes
933 bytes
Hi, Does anyone know what the length limit is for an Unix login name in general? Thank you. -- Phil Tsao e-mail: philt@technologist.com
Re: login name length limit?
Author: Tom Fritz
Date: Tue, 21 Oct 1997 00:00
Date: Tue, 21 Oct 1997 00:00
32 lines
2059 bytes
2059 bytes
Phil Tsao (philt@technologist.com) wrote: : Hi, : Does anyone know what the length limit is for an Unix login : name in general? I would limit it to the normal 8 chars... more may cause problems with other network services. It is an old standard, but it never fails. --tlf : Thank you. : -- : Phil Tsao : e-mail: philt@technologist.com -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -= A Colorado judge required federal prison authorities to provide an inmate =- -= with "a black robe, incense, a gong and other implements or allow him =- -= to bring them in himself" in order to perform Satanic rituals while =- =- incarcerated (Source: The Boston Herald, October 12, 1994, page 2) =- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -= Thomas Fritz -=*=- Simi Ewing =- -= Sr. UNIX System Admin. | =- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: login name length limit?
Author: Eric Levenez
Date: Tue, 21 Oct 1997 00:00
Date: Tue, 21 Oct 1997 00:00
19 lines
1806 bytes
1806 bytes
abuse@netcom.com (Tom Fritz) wrote: > Phil Tsao (philt@technologist.com) wrote: > : Does anyone know what the length limit is for an Unix login > : name in general? > > I would limit it to the normal 8 chars... more may cause problems with other > network services. It is an old standard, but it never fails. At the very beginning, it was 7 characters. Now all unix use 8 characters, and the newer ones use 32 characters. See LOGNAME_MAX in <limits.h>. -- -------------------------------------------------------------------- �ric L�v�nez "Felix qui potuit rerum cognoscere causas" mailto:levenez@club-internet.fr Publius Vergilius Maro, (NeXTMail, MIME) Georgica, II-489 --------------------------------------------------------------------
Re: login name length limit?
Author: Jean-Guillaume Hamelin
Date: Fri, 24 Oct 1997 00:00
Date: Fri, 24 Oct 1997 00:00
33 lines
1762 bytes
1762 bytes
Phil Tsao wrote: > > Hi, > > Does anyone know what the length limit is for an Unix login > name in general? > > Thank you. > > -- > Phil Tsao > e-mail: philt@technologist.com 8 characters -- ============================================================================ | Jean-Guillaume HAMELIN | Computer System Administrator | |--------------------------------------------------------------------------| | Email: Jean-Guillaume.Hamelin@aar.alcatel-alsthom.fr | | or hamelin@aar.alcatel-alsthom.fr | | Alcatel Alsthom Recherche tel : +33 01.69.63.18.28 | | Route de Nozay fax : +33 01.69.63.19.75 | | 91460 Marcoussis France beep: 004 sur le site de marcoussis| | GSM : +33 06.08.66.11.54 | ============================================================================
Re: login name length limit?
Author: Richard L. Hamilton
Date: Sat, 25 Oct 1997 00:00
Date: Sat, 25 Oct 1997 00:00
38 lines
2372 bytes
2372 bytes
In article <abuseEIF2IF.3J7@netcom.com>, abuse@netcom.com (Tom Fritz) writes: > Phil Tsao (philt@technologist.com) wrote: >: Hi, > >: Does anyone know what the length limit is for an Unix login >: name in general? > > I would limit it to the normal 8 chars... more may cause problems with other > network services. It is an old standard, but it never fails. The minimum upper limit for the login name plus a terminating null is _POSIX_LOGIN_NAME_MAX, which is 9 (i.e. 8 + the null terminator). The maximum upper limit is sysconf(_SC_LOGIN_NAME_MAX), which on Solaris 2.5.1 is the same. More traditionally, there is L_cuserid in /usr/include/stdio.h, which is also typically 9 (including the null). So a program should support 8 plus the terminator (or sysconf(_SC_LOGIN_NAME_MAX), whichever is larger) but never require that anything longer than 8 plus the terminator be entered. No account name longer than sysconf(_SC_LOGIN_NAME_MAX)-1 should be created, and if you want your account names standard across a variety of Unix systems, they should be limited to 8 characters. And if you also want them standard to older MVS systems (although for the POSIX requirements Open MVS may have had to raise this to 8), you'd better limit your account names to seven (7) characters. -- ftp> get |fortune 377 I/O error: smart remark generator failed Bogonics: the primary language inside the Beltway mailto:rlhamil@mindwarp.smart.net http://www.smart.net/~rlhamil
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads