From owner-freebsd-isp Tue Jul 27 19:43:56 1999 Delivered-To: freebsd-isp@freebsd.org Received: from ms.securenet.net (ms.securenet.net [205.236.147.20]) by hub.freebsd.org (Postfix) with ESMTP id C120614C1A for ; Tue, 27 Jul 1999 19:43:47 -0700 (PDT) (envelope-from vandj@securenet.net) Received: from office (office.securenet.net [205.236.147.3]) by ms.securenet.net (8.9.3/8.9.3) with SMTP id WAA23388 for ; Tue, 27 Jul 1999 22:42:43 -0400 (EDT) Message-Id: <4.1.19990727215803.009f5380@ms.securenet.net> X-Sender: vandj@ms.securenet.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 27 Jul 1999 22:42:43 -0400 To: freebsd-isp@FreeBSD.ORG From: "Jean M. Vandette" Subject: Re: Modifying MAXLOGNAME ? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 11:00 PM 7/27/99 +0200, you wrote: >Hi! > >Anyone ever changed > >MAXLOGNAME > >as defined in utmp.h: >#define UT_NAMESIZE 16 > >and in sys/param.h: * MAXLOGNAME should be == UT_NAMESIZE+1 (see ) > >sys/param.h:#define MAXLOGNAME 17 (includes NUL byte) > >and apparently in sys/acct.h and sys/proc.h and sys/user.h ? > >I want to increase this. Maybe to, say, 64 chars instead of 16. > >Suggestions ? > I don't know why you would want such a high number however, if you're serious about this first get the full souces I would suggest CVSUP to make sure everthing is up to date including the ports collection. - Install your fresh system, including all the sources. - Edit the value of UT_NAMESIZE in /usr/src/include/utmp.h to 64 (or whatever you want) - Edit the value of MAXLOGNAME in /usr/src/sys/sys/param.h to one greater than the value you gave UT_NAMESIZE (eg. 65) Remake the world and your kernel. Note that there are a lot of ports that use the UT_NAMESIZE parameter, eg. the POP server. You *must* rebuild them on this machine for them to work properly. (ie. you cannot install packages, or ports that were built on another system). Regards Jean M. Vandette >-- >MfG/Best regards, Kurt Jaeger 21 years to go ! >LF.net GmbH pi@LF.net Oberon.net GmbH pi@oberon.net >Vor dem Lauch 23 fon +49 711 90074-23 Friedrich-Ebert-Str.1 >D-70567 Stuttgart fax +49 711 7289041 40210 Duesseldorf fon +49 211 179253-11 >For Redmond: "nuke the site from orbit -- it's the only way to be sure." > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message ************************************************************************** *SecureNet Information Services Inc. 100 Alexis Nihon Blvd., Suite 283* *(514) 744-4242 Vox (514) 744-1552 Fax St. Laurent, Quebec H4M 2N7 * ********** Providing Quality Public Internet access since 1994************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message