From owner-freebsd-isp Thu Jul 29 10:13:54 1999 Delivered-To: freebsd-isp@freebsd.org Received: from complx.LF.net (complx.LF.net [195.206.130.10]) by hub.freebsd.org (Postfix) with ESMTP id 06098155DD for ; Thu, 29 Jul 1999 10:13:48 -0700 (PDT) (envelope-from pi@complx.LF.net) Received: by complx.LF.net (Smail3.2.0.103/complx.LF.net) via LF.net GmbH Internet Services from pi for freebsd-isp@freebsd.org for host hub.freebsd.org id m119tiw-000zyOC; Thu, 29 Jul 1999 19:12:06 +0200 (CEST) Message-Id: Subject: Re: Modifying MAXLOGNAME ? To: freebsd-isp@freebsd.org Date: Thu, 29 Jul 1999 19:12:06 +0200 (CEST) From: "Kurt Jaeger" In-Reply-To: <4.1.19990727215803.009f5380@ms.securenet.net> from "Jean M. Vandette" at Jul 27, 1999 10:42:43 PM X-NCC-RegID: de.oberon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! > >Anyone ever changed > > > >MAXLOGNAME/UT_NAMESIZE > >I want to increase this. Maybe to, say, 64 chars instead of 16. > 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) Done. Works OK with 64/65, as of now, on a demo system. > 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). OK, no problem with that. But now the other way around: If I compiled a application on that kind of mangled system and copied it to a "short-user" system -- assuming that the usernames on the "short-user" system are short-only-ones: Would these applications still work ? I booted the modified system, but with the old kernel and it still worked. I'll think this over. -- 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