From owner-freebsd-questions Tue Jan 23 21:00:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA21905 for questions-outgoing; Tue, 23 Jan 1996 21:00:32 -0800 (PST) Received: from freebsd.netcom.com (freebsd.netcom.com [198.211.79.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA21900 for ; Tue, 23 Jan 1996 21:00:29 -0800 (PST) Received: by freebsd.netcom.com (8.6.12/SMI-4.1) id XAA01669; Tue, 23 Jan 1996 23:04:05 -0600 From: bugs@freebsd.netcom.com (Mark Hittinger) Message-Id: <199601240504.XAA01669@freebsd.netcom.com> Subject: Re: Login Name Length (fwd) To: questions@freebsd.org Date: Tue, 23 Jan 1996 23:04:05 -0600 (CST) X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk > > 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