adduser in destroot
Bradley Giesbrecht
pixilla at macports.org
Fri Mar 2 12:15:15 PST 2012
On Mar 2, 2012, at 11:42 AM, Daniel J. Luke wrote:
> On Mar 2, 2012, at 1:58 PM, Bradley Giesbrecht wrote:
>> To test converting from adduser to add_users I used port to deactivate zope, used dscl to rm a user record and then used port to activate zope which ended with this error:
>> ...
>> Error: Target org.macports.activate returned: xinstall: Unknown user zope
>> ...
>
> That seems like something that people shouldn't do (or should expect to cause problems).
Agreed, I am still interested if there is a reason to not execute add_users at activate. Build and activate seem to be logical choices to me.
I could imagine restoring /opt/local from a backup to a new system and a quick deactivate and activate could restore system users and groups.
Regards,
Bradley Giesbrecht (pixilla)
More information about the macports-dev
mailing list