From owner-freebsd-questions Fri Jul 11 15:41:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA07763 for questions-outgoing; Fri, 11 Jul 1997 15:41:55 -0700 (PDT) Received: from milehigh.denver.net (milehigh.denver.net [204.144.180.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA07754 for ; Fri, 11 Jul 1997 15:41:51 -0700 (PDT) Received: from localhost (jdc@localhost) by milehigh.denver.net (8.8.5/8.8.5) with SMTP id QAA20928; Fri, 11 Jul 1997 16:51:02 -0600 (MDT) Date: Fri, 11 Jul 1997 16:51:02 -0600 (MDT) From: John-David Childs To: Steven Ames cc: freebsd-questions@FreeBSD.ORG Subject: Re: longer usernames? In-Reply-To: <199707111855.NAA03873@news.cioe.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 11 Jul 1997, Steven Ames wrote: > > I know the 3.0-CURRENT code supports 16 character user names... What changes > would I need to make to 2.2-RELENG to get 16 character names? > modify UT_NAMESIZE in /usr/src/include/utmp.h modify MAXLOGNAME in /usr/src/sys/sys/param.h and make world. You'll also need to recompile all packages/ports which read/write the username (top, wu-ftpd come to mind). Be damn sure you've got adequate backups, as this procedure breaks quite a few things. You'll want to zero /var/log/wtmp and /var/run/utmp, as well as your accounting logs after making the world. I've done it on five FreeBSD 2.x systems in the past three months. It's not difficult, but it's not totally painless either! ;-) -- John-David Childs (JC612) @denver.net/Internet-Coach System Administrator Enterprise Internet Solutions & Network Engineer 901 E 17th Ave, Denver 80218 "I used up all my sick days... so I'm calling in dead!"