*BSD News Article 66929


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!news.sol.net!news.inc.net!arclight.uoregon.edu!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Patch for >8 char ID's
Date: 24 Apr 1996 22:34:03 GMT
Organization: Private FreeBSD site, Dresden
Lines: 22
Message-ID: <4lma8r$s7o@uriah.heep.sax.de>
References: <4ljlef$aa6@presence.lglobal.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

drop@presence.lglobal.com (Colin P. Ryan) writes:
>I'm looking for patches to 2.1.0 -RELEASE that will allow
>for user id's of longer than 8 characters. The archive mentions
>something about it being in the handbook but grepping finds no such 
>reference.
>
>Could someone point the way to the patch or proper modifications?

<utmp.h> defines UT_NAMESIZE to 8.  Changing this will make your
existing utmp and wtmp files useless, but should not affect anything
else.

<sys/param.h> defines MAXLOGNAME to 12.  I have no idea what might
break when you change it, but you will at least need a full ``make
world''.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)