Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 14:40:37 -0500
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Staging break user account modification in post-install
Message-ID:  <CAGBxaXmhQ4J=YUsnKrgjn%2Bu=yxBU4MZhrKtR9wO5kOSwDx6N8Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXmhQ4J=YUsnKrgjn%2Bu=yxBU4MZhrKtR9wO5kOSwDx6N8Q>