Add a 'preupgrade' target which creates any missing users and groups
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 12 Nov 2004 09:10:01 +0000 (09:10 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 12 Nov 2004 09:10:01 +0000 (09:10 +0000)
commitf35282e355dd20863f2ea08f6f89d9fe7241b56a
tree3f0e4c51dee39755959a13341e392655b64df97e
parent7fe5d69a48807b409bdacb30b603cf551e7ff1c6
Add a 'preupgrade' target which creates any missing users and groups
(relative to FreeBSD-4) that are required before installworld can be
run.

Adjust the installworld prechecks to bail if required users or groups
do not exist, with a message pointing to the new preupgrade target.

The 'make upgrade' target will automatically run the preupgrade target.

Required users: smmsp, _pflogd, _ntp.
Required groups: smmsp, authpf, _pflogd, _ntp

Devon noted that the 'pw' program seems to do what we need here.
Makefile
Makefile.inc1
etc/Makefile