HardenedBSD/usr.sbin/pwd_mkdb
Bill Paul 8839484b47 Begin closing out PR #1519 (this requires a change to chpass too,
and both changes need to be pulled into the stable branch). The
problem here is that when pwd_mkdb creates /etc/passwd, it turns
empty UID and GID fields into zeroes. To fix this, we check the
_PWF_UID and _PWF_GID bits in the pw_fields flag: if the bits
are not set, we print an empty field instead of a zero. This way,
you don't get zeroes in the UID or GID fields unless you explicit
want them.
1996-10-22 03:18:11 +00:00
..
Makefile
pw_scan.c
pw_scan.h
pwd_mkdb.8
pwd_mkdb.c Begin closing out PR #1519 (this requires a change to chpass too, 1996-10-22 03:18:11 +00:00