From owner-freebsd-isp Mon Oct 7 07:44:34 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA01466 for isp-outgoing; Mon, 7 Oct 1996 07:44:34 -0700 (PDT) Received: from hearnvax.nic.surfnet.nl (hearnvax.nic.surfnet.nl [192.87.5.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA01446; Mon, 7 Oct 1996 07:44:24 -0700 (PDT) Received: from hermes.hse.nl by HEARNVAX.nic.SURFnet.nl (PMDF V5.0-7 #8340) id <01IAD9QI7AWG00PO5K@HEARNVAX.nic.SURFnet.nl>; Mon, 07 Oct 1996 16:42:50 +0200 (MET_DST) Received: from charm.il.ft.hse.nl by hermes.hse.nl (AIX 3.2/UCB 5.64/4.04) id AA07772; Mon, 07 Oct 1996 16:42:50 +0100 Received: (from erik@localhost) by charm.il.ft.hse.nl (8.7.5/8.6.12) id QAA17951; Mon, 07 Oct 1996 16:42:31 +0200 (MET DST) Date: Mon, 07 Oct 1996 16:42:31 +0200 (MET DST) From: Erik Manders Subject: Re: User name length limit increase In-reply-to: <199610071319.PAA07276@monet.telebyte.nl> To: Jos.Vissers@telebyte.NL (Jos Vissers) Cc: questions@freebsd.org, isp@freebsd.org Reply-to: erik@il.ft.HSE.NL, questions@freebsd.org Message-id: <199610071442.QAA17951@charm.il.ft.hse.nl> MIME-version: 1.0 X-Mailer: ELM [version 2.4ME+ PL27 (25)] Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Location: Somewhere in The Netherlands Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk After long consideration, Jos Vissers uttered the following: > Hello, > > Can somebody please explain how to increase the user login name length > limit. I would expect this to be some systemwide setting or at > worst a definition in a header file. > But I can't find anything except UT_NAMESIZE (8) in utmp.h. > Increasing that and recompiling libc doesn't help a lot. Almost there, but not quite. You grab the sources (ALL of them), edit UT_NAMESIZE in .../include/utmp.h and rebuild everything. After the installation you might want to remove /var/run/utmp (i think) and reboot. Remember that xterm probably will also need recompiling! So will anything else that even looks at the utmp! That's because changing UT_* changes sizeof(struct utmp) and sizeof(struct lastlog) which is kinda important. > > Is it possible at all to increase this beyond 8 and if so, how? Sure! I've changed UT_HOSTSIZE to 48 for instance. See above! > > Thanks, Jos > > -- > Jos Vissers, System administrator Telebyte > > Erik Manders erik@il.ft.hse.nl -- :evil and rude: adj. both {evil} and {rude}, but with the additional connotation that the rudeness was due to malice rather than incompetence. Hackish evil and rude is close to the mainstream sense of `evil'. --Jargon file, version 4.0.0 [edited]