What does an * in master.passwd (not passwd) mean?

Dan Nelson dnelson at allantgroup.com
Fri Sep 16 15:29:20 PDT 2005


In the last episode (Sep 16), Paul Hoffman said:
> In 5.4 (and probably lots of other versions), the master.passwd file
> is pre-seeded with lots of accounts such as daemon, operator, and so
> on. The master.passwd file looks like:
> 
> daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
> operator:*:2:5::0:0:System &:/:/usr/sbin/nologin
> . . .
> 
> The man page for master.passwd and passwd say what an "*" in the
> second field means in passwd, but not in master.passwd. Any clues
> would be appreciated (and I will put in a documentation pr when I
> have an answer).

It's an invalid password hash, so the user can't log in.  Anything that
doesn't match DES or md5 password hash output would do.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list