Where do all the passwd get saved ?

Erik Trulsson ertr1013 at student.uu.se
Sat Feb 5 17:11:27 PST 2005


On Sat, Feb 05, 2005 at 06:00:19PM -0700, Pat Maddox wrote:
> /etc/passwd is a system file that just lists accounts.  Having the
> passwords in there is insecure because it has to be readable by
> everyone.  In linux systems, the actual passwords are in /etc/shadow.
> 
> I don't know exactly how FreeBSD handles passwords.  I don't even
> think it uses /etc/passwd (only there for compatibility with some
> linux software?), and instead keeps everything in a hashed database
> file.  My guess is that all the passwords are in spwd.db.
> 
> But I don't know that for sure :)  Hopefully somebody else can clarify this.
> 
> 
> 
> 
> On Sun, 6 Feb 2005 01:45:09 +0100, Gert Cuykens <gert.cuykens at gmail.com> wrote:
> > I thought it was /etc/passwd but that seemed not to be where i was
> > looking for :)

RTFM, the passwd(5), passwd(1), pwd_mkdb(8) and vipw(8) manpages in particular.






-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list