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 Fix bootstrapping of pwd_mkdb after r364049 2020-08-11 16:46:38 +00:00
Makefile Fix i386 build of chpass after r363992 2020-08-08 10:05:27 +00:00
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