Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 02:11:24 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Pat Maddox <pergesu@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where do all the passwd get saved ?
Message-ID:  <20050206011123.GA57234@falcon.midgard.homeip.net>
In-Reply-To: <810a540e05020517004715999b@mail.gmail.com>
References:  <ef60af0905020516451ef87d66@mail.gmail.com> <810a540e05020517004715999b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050206011123.GA57234>