Subject: Re: bin/8428: uucpd truncates login names at 8 characters
To: None <woods@wierd.com>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 09/24/1999 17:39:47
> [ On Friday, September 24, 1999 at 15:56:55 (-0400), Bill Sommerfeld wrote: ]
> > Subject: Re: bin/8428: uucpd truncates login names at 8 characters 
> >
> > > ! characters, currently 12.
> > 
> > The setlogin man page has been corrected to say that MAXLOGNAME is 16
> > in -current.
> 
> What, no attempt to clean up the real inconsistency?!?!?!?!

Have patience, grasshopper.  It will be fixed in the fullness of time.

One of the specific tasks I was given CVS access for way back when was
to improve our support for long login names.

NetBSD is gradually evolving to better support long login names.  It
started out extremely inconsistantly (for instance, MAXLOGIN was 12,
but getpwnam truncated the passed-in login name to 8 characters), and
is gradually improving.

Fixing the "utmp" problem is not a simple matter of increasing
UT_NAMESIZE.  Unfortunately, we can't simply increase UT_NAMESIZE; we
really need to replace the utmp file with a new abstraction, and one
of my many back-burner projects is to design this abstraction.  THis
will solve multiple problems -- for instance, UT_HOSTSIZE is also too
small.

In the meantime, NetBSD is certainly usable with 15-character login
names and it would be silly to cause this functionality to regress in
the name of a foolish sense of consistancy.

				- Bill