Subject: creating user before configuration starts
To: None <tech-pkg@netbsd.org>
From: Hannes Frederic Sowa <satbran@web.de>
List: tech-pkg
Date: 05/21/2002 19:52:48
Hello!

I posted that to netbsd-ports first. Bahh!

I need to create a user before the configuration of the port starts.
My Makefile:

pre-configure:
        ${GROUPADD} vchkpw;                               \
        ${USERADD} -g vchkpw -d ${VPOPMAILDIR} vpopmail;  \

There will be also a notfication for that in DEINSTALL and MESSAGE.

Would that be acceptable or is there a better method to do that?
I would like to take a uid and gid below 100. In FreeBSD they use 89 for 
that. Would that also be possible in NetBSD?


Thanks and bye,

Hannes Sowa