Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 1996 01:51:18 GMT
From:      James Raynard <fhackers@jraynard.demon.co.uk>
To:        wosch@cs.tu-berlin.de
Cc:        tom@sdf.com, hackers@freebsd.org
Subject:   Re: Longer usernames?
Message-ID:  <199606210151.BAA06421@jraynard.demon.co.uk>
In-Reply-To: <199606202059.WAA00487@campa.panke.de> (message from Wolfram Schneider on Thu, 20 Jun 1996 22:59:03 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help
> >  Also, I recently noticed that BSDI 2.1 supports 16 character usernames
> >too (UT_NAMESIZE is 16).  This means that BSDI 2.1 bins that access wtmp,
> >utmp, etc will not work under FreeBSD.
> 
> The limit is also MAXLOGNAME (12 chars), see
> /usr/include/sys/param.h 
> /usr/src/lib/libc/gen/getlogin.c
> 
> Unfortunately our libc mixed MAXLOGNAME and UT_NAMESIZE.

I think you'll find libc only uses UT_NAMESIZE when it has to interact
with NIS.

-- 
James Raynard, Edinburgh, Scotland
james@jraynard.demon.co.uk



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