Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 1996 23:04:05 -0600 (CST)
From:      bugs@freebsd.netcom.com (Mark Hittinger)
To:        questions@freebsd.org
Subject:   Re: Login Name Length (fwd)
Message-ID:  <199601240504.XAA01669@freebsd.netcom.com>

next in thread | raw e-mail | index | archive | help
> > What limits the length of user logins to 8 characters and how might this 
> > be changed? We need 15 or more.
> Change UT_NAMESIZE in /usr/include and rebuild the entire system.  This won't
> work if you use YP/NIS, and other packages may break.  8 characters is
> a long-time Unix restriction.

The files are utmp.h in /usr/src/include and /usr/include.  I have done this
for 10 characters with no trouble.

To go behond 11 you will need to also change a parameter in the file

/usr/src/sys/sys/param.h   MAXLOGNAME  is 12.

Beware tho - when I raised this parameter other bad things happened.  I
fell back to 10 since that was all I needed at the time.

I would also worry about some unanticipated weirdness in sendmail if you
make it too large.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com



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