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!spool.mu.edu!pravda.aa.msen.com!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!EU.net!Germany.EU.net!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: > 8Char Login Names Date: 5 Feb 1996 11:01:58 GMT Organization: Private BSD site, Dresden Lines: 45 Message-ID: <4f4o36$48q@uriah.heep.sax.de> References: <4eekil$3k1@turtle.apana.org.au> 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 nagy@turtle.apana.org.au (Robert Nagy) writes: > Is there any way to get longer than 8char log in names for FreeBSD2.1 ? It is longer (say the system headers), though only 8 chars are being logged to utmp/wtmp. > Potentially I may want to create a few email addresses that need to be > longer than 8chars. I always thought this may have been a limitation of > UN*X and also FreeBSD1.1.5.1 which I used to run. RTFM aliases(5) for a better way to do this. > Also is there any way to convert the master.passwd file from 1.1.5.1 to 2.1 > As the encoding scheme seems to be different. Hmm, i almost forgot about the 1.1.5.1... fortunately, there are CD-ROMs: j@uriah 190% head -1 /usr/src/etc/master.passwd root::0:0::0:0:Charlie &:/root:/bin/csh j@uriah 191% head -1 /cd/filesys/etc/master.passwd root::0:0::0:0:Charlie &:/root:/bin/csh The /cd is FreeBSD 1.1, /usr/src is 2.2-current. Apparently, the file format has not been changed. What has been changed however is the password encryption. If you were using DES with 1.1.5.1, you should also install DES for FreeBSD 2, and should be going. If you were using the poor default password scrambler in 1.1.5.1, you should upgrade your passwords. The new default MD5 encryption is way stronger. If upgrading is not an option, you could rip out the crypt.c password scrambler from 1.1.5.1, make it into a separate library, and link this one to /usr/lib/libcrypt.{a,so.2.0}. You need to recompile init(8) in case you want to use `insecure' for your console in /etc/ttys, since init links libcrypt statically. All other programs use the shared libcrypt. -- 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. ;-)