*BSD News Article 60613


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.uoknor.edu!news.nodak.edu!netnews1.nwnet.net!news.u.washington.edu!uw-beaver!uhog.mit.edu!news.mathworks.com!fu-berlin.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.admin
Subject: Re: Password security
Date: 26 Jan 1996 23:42:22 GMT
Organization: Private BSD site, Dresden
Lines: 20
Message-ID: <4ebosu$ke2@uriah.heep.sax.de>
References: <4e69sl$6ci@complete.org>
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.3
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:13213 comp.unix.admin:37912

jgoerzen@complete.org (John Goerzen) writes:

> First, is it possible to increase the maximum length of login passwords
> beyond 8 characters without modifying any sources?  If not, which source(s)
> do I need to modify in order to achieve that?

Nope, you would have to bump UT_NAMESIZE in <utmp.h>, in order to
record the names in the utmp and wtmp files.  You gotta recompile the
world after doing this, and naturally, your existing wtmp file is
binary crap after this.

Note that <sys/param.h> does specify MAXLOGNAME as 12, i'm not sure
where this is used.

-- 
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. ;-)