Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!eff!news.umbc.edu!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!frmug.fr.net!renux.frmug.fr.net!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [NetBSD] shadow-3.2.2, Got it yet?
Date: 13 Feb 1994 23:02:55 +0100
Organization: A Happy FreeBSD-current Usenet Site
Lines: 47
Message-ID: <2jm82t$1s3@keltia.frmug.fr.net>
References: <CKytFC.G6J@rucs2.sunlab.cs.runet.edu>
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
In article <CKytFC.G6J@rucs2.sunlab.cs.runet.edu>,
Brad Colbert <bcolbert@rucs2.sunlab.cs.runet.edu> wrote:
> Has anyone in netland gotten shadow-3.2.2 ported to NetBSD 0.9? This
> adds a shadow passwording scheme to unix, if you needed to know.
386BSD 0.1 has a password shadowing system from the beginning. The
/etc/passwd file is almost never used... The real password file is
/etc/master.passwd and two separate databases are generated by pwd_mkdb(8).
Extract from man pwd_mkdb :
------------------------------------------------------------
PWD_MKDB(8) PWD_MKDB(8)
NAME
pwd_mkdb - generate the password databases
SYNOPSIS
pwd_mkdb [ -p ] [ -d directory ] file
DESCRIPTION
Pwd_mkdb creates db(3) style secure and insecure databases
for the specified file. These databases are then
installed into ``/etc/spwd.db'' and ``/etc/pwd.db''
respectively. The file is installed into
``/etc/master.passwd''. The file must be in the correct
format (see passwd(5)). It is important to note that the
format used in this system is different from the historic
Version 7 style format.
------------------------------------------------------------
Of course both FreeBSD and NetBSD have it too. Name lookup is an order of
magnitude faster than reading from /etc/passwd... Do a ``ls -lR'' on
different systems to see the difference.
So there is no need to add "Yet Another Shadowing Scheme" to *BSD. I
remember some of Linux friends tear away their hair when one distribution
or another took a different scheme each time...
(no offense on Linux intended of course, I have several Linux friends all
very happy of their system if only I could stop myself trying to convert
'em to *BSD :-))))))
--
Ollivier ROBERT Ollivier.Robert@keltia.frmug.fr.net
A FreeBSD & PERL addict... PGP 2.3a Public Key on request
Running FreeBSD-current and very happy to do so !