freebsd-dev/usr.sbin/pwd_mkdb
Andre Albsmeier 0deb25bd9d pwd_mkdb(8): Don't copy comments from /etc/master.passwd to /etc/passwd.
The intention of /etc/passwd was to support legacy applications that are
not yet converted to use modern API like getpwent(3). Comments are not
defined in the legacy format, so copying them could break these
applications. Plus, it could leak sensitive information (e.g. encrypted
form of password of an user that was commented out instead of deleted
or disabled).

PR:		bin/144652
MFC after:	1 month
2023-01-04 22:18:09 -08:00
..
bootstrap
Makefile
Makefile.depend
pwd_mkdb.8
pwd_mkdb.c pwd_mkdb(8): Don't copy comments from /etc/master.passwd to /etc/passwd. 2023-01-04 22:18:09 -08:00