From owner-freebsd-hackers Mon May 29 18:48:32 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA01045 for hackers-outgoing; Mon, 29 May 1995 18:48:32 -0700 Received: from ns1.win.net (ns1.win.net [204.215.209.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA08243 for ; Mon, 29 May 1995 14:33:21 -0700 Received: (from bugs@localhost) by ns1.win.net (8.6.11/8.6.9) id RAA03623 for hackers@freebsd.org; Mon, 29 May 1995 17:37:46 -0400 From: Mark Hittinger Message-Id: <199505292137.RAA03623@ns1.win.net> Subject: re: Longer usernames To: hackers@FreeBSD.org Date: Mon, 29 May 1995 17:37:46 -0400 (EDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 891 Sender: hackers-owner@FreeBSD.org Precedence: bulk > From: Tom Samplonius > > I've decided to make my system incompatible with the world by changing > the maximum username length. Problem is, I forgot where the appropiate > constant is stored. > I needed to support 10 character user names in order to convert our installed base over to freebsd. This did not require a kernel change. I changed /usr/include/utmp.sh UT_NAMESIZE to 10. Recompile everything, don't forget xterm. Reboot in single user mode and clear out the utmp file. This has been working for several months without trouble. In param.h there is a kernel parameter MAXLOGNAME which is 12. So if you want more than 10 you might have to recompile the kernel to support it. It tried to blow it out to 16 character usernames but ran into some kernel crashes so I back out (since I really only needed 10). Regards, Mark Hittinger bugs@win.net