user "macports" does not exist

Joshua Root jmr at macports.org
Thu Jul 4 07:42:55 UTC 2019


On 2019-7-4 09:34 , Ralph Seichter wrote:
> * Jack Howarth:
> 
>> Short of fully reinstalling MacPorts is there a way to recreate the
>> "macports" user?
> 
> You can create users via the Users & Groups system settings, or using
> the 'dscl' (Directory Service command line) utility as root.

Specifically, you want to do what the installer pkg's postflight script
does.
<https://github.com/macports/macports-base/blob/master/portmgr/dmg/postflight.in#L156>

Installing from source does the same thing BTW, and installing again
over the top of your existing installation won't break anything.

- Josh


More information about the macports-dev mailing list