Where do all the passwd get saved ?

Pat Maddox pergesu at gmail.com
Sat Feb 5 17:00:20 PST 2005

/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 :)
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list