From owner-freebsd-hackers Sun Jun 23 00:01:37 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA05294 for hackers-outgoing; Sun, 23 Jun 1996 00:01:37 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA05288 for ; Sun, 23 Jun 1996 00:01:35 -0700 (PDT) Received: from localhost (tom@localhost) by misery.sdf.com (8.7.5/8.6.12) with SMTP id AAA08379; Sun, 23 Jun 1996 00:09:45 -0700 (PDT) Date: Sun, 23 Jun 1996 00:09:43 -0700 (PDT) From: Tom Samplonius To: Stefan Arentz cc: freebsd-hackers@freebsd.org Subject: Re: Longer Logins... problems In-Reply-To: <199606230138.DAA19533@netscafe.rotterdam.luna.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 23 Jun 1996, Stefan Arentz wrote: > Hi, > > I'm migrating a web server from Solaris 2.4 to a FreeBSD 2.1.0-RELEASE box. We > user usernames <= 16 on Solaris, so I'm trying to change the limits in FreeBSD. > > Could someone who has done this before tell me if this is the right way to do > it? > > /usr/src/sys/sys/param.h -> #define MAXLOGNAME 20 > /usr/src/include/utmp.h -> #define UT_NAMESIZE 16 > > cd /usr/src/ > make libraries You probably shouln't increase MAXLOGNAME over 16. I think there may be some hidden depencies on 16 or less usernames in the kernel. You will also need to rebuild almost everything. Not just the libraries. If a program includes utmp.h it will need to re-compiled. This includes "w", "who", "last", "ftpd", etc The safest thing is to do a "make world" Tom