Staging break user account modification in post-install
Aryeh Friedman
aryeh.friedman at gmail.com
Sun Nov 10 19:40:38 UTC 2013
post-install is now called *BEFORE* users are created (before staging was
added it was after)... looking at bsd.port.mk there seems no reasonable
target that replaces post-install for this purpose. Namely I need to lock
the user account that was created and assign a default password to it.
This is what I had that used to work:
post-install:
echo password|pw usermod user -h 0 2>/dev/null
pw lock user
More information about the freebsd-ports
mailing list