FreeBSD password file

3

1

What would be FreeBSD password file equivalent of linux /etc/shadow and /etc/passwd? Is it the same?

According to what I heard /etc/passwd exists in FreeBSD, but not sure in case of /etc/shadow.

user41648

Posted 2012-09-19T01:05:15.873

Reputation: 43

Answers

0

This information should be explained under the Files section of man passwd

p_strand

Posted 2012-09-19T01:05:15.873

Reputation: 679

5

In freeBSD password and user related information are stored as blow.

 /etc/master.passwd  the user database. Its equivalent for /etc/shadow of Linux
 /etc/passwd         a Version 7 format password file. Same as /etc/passwd of Linux
 /etc/passwd.XXXXXX  temporary copy of the password file

Kannan Mohan

Posted 2012-09-19T01:05:15.873

Reputation: 398