In /etc/Makefile, log entries are created for the files created by pwd_mkdb with the code: ( \ for metaent in passwd pwd.db spwd.db; do \ echo "./etc/$${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ done; \ ) | ${METALOG.add} This makes spwd.db world readable which is probably not what is desired. On FreeBSD I'm planning to use: ( \ echo "./etc/passwd type=file mode=0644 uname=root gname=wheel" \ echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel" \ echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel" \ ) | METALOG.add -- Brooks
Attachment:
pgpABOFyITRIR.pgp
Description: PGP signature