Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 1996 22:16:50 +0200
From:      Wolfram Schneider <wosch@campa.panke.de>
To:        "Julian H. Stacey" <jhs@FreeBSD.org>
Cc:        Tushar Patel <tushar@ecpi.com>, kuku@gilberto.physik.RWTH-Aachen.DE, freebsd-isp@FreeBSD.org
Subject:   Re: Login name longer then 8 character? 
Message-ID:  <199605192016.WAA02026@campa.panke.de>
In-Reply-To: <199605162317.BAA02650@vector.jhs.no_domain>
References:  <199605152032.UAA13583@ecpi.com> <199605162317.BAA02650@vector.jhs.no_domain>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian H. Stacey writes:
>Perhaps whoever wrote the adduser 8 char limit knew there are or

I was it ;-)


>at least were also passwd 8 char limits in FreeBSD,
>  (as to version I can't tell you, but I did hit such a limit a few months
>  back, on a machine kuku@gil.physik.rwth-aachen.de knows of)
>
>so before you read & change the source to adduser,
>go & do some direct tests with passwd etc.

libc depend on UT_NAMESIZE (8 chars) and MAXLOGNAME (12 chars).

man setlogin
[...]
BUGS
     Login names are limited in length by setlogin().  However, lower limits
     are placed on login names elsewhere in the system (UT_NAMESIZE in
     <utmp.h>).


Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605192016.WAA02026>