Macports user on login screen after migration from old Mac to new Mac

Joshua Root jmr at macports.org
Sun Jul 31 21:24:05 UTC 2022


On 2022-8-1 03:27 , Murray Eisenberg wrote:
> In a message posted already in this list’s archives but not yet 
> appearing in the batched emails I receive from the list, Johsua Root writes:
> 
> “ … the 'macports’ user… should be as unprivileged as possible, and thus not a member of any groups other than its own.
> 
> "TBH, the easiest fix is probably to delete the 'macports' user and group, and let them be recreated by the installer during step 2 of the Migration process."
> 
> How does one, in fact, delete the ‘macports’ user and group before 
> letting them be recreated by the installer during Step 2 of the MacPorts 
> migration process?
> 
> (I note that no user ‘macports’ shows in System Preferences > Users & 
> Groups even though user ‘macports’ appears on the macOS login screen.)

The correct dscl commands can be found in section 2.4.2 of the MacPorts 
Guide: 
<https://guide.macports.org/chunked/installing.macports.uninstalling.html#installing.macports.uninstalling.users>

- Josh


More information about the macports-users mailing list