Macports user on login screen after migration from old

Murray Eisenberg murrayeisenberg at
Sat Aug 6 22:51:56 UTC 2022

> OnFri, 5 Aug 2022 14:58:41 -0500,Ryan Schmidt <ryandesign at <mailto:ryandesign at>> wrote:
> On Jul 31, 2022, at 10:01, Murray Eisenberg wrote:
>> I used the macOS Migration Assistant to migrate Documents and Settings from a Time Machine backup of that iMac to a new Mac Studio, also running macOS 12.5.
>> Now at the login screen I show a user MacPorts, but I do not see such user listed when, in my admin account, I use System Preferences > Users & Groups.
>> What, if anything, should be done?
> The Migration Assistant moves any migrated users' home directories into /Users. This is wrong for the macports user and any users MacPorts ports created so if you used Migration Assistant to migrate such users you'll have to manually fix the home directories afterward. First you'll have to figure out where the home directory of each user should be (e.g. by reading the Portfile of the port that created the user). Then you'll have to use dscl to change the NFSHomeDirectory of the user to that value. And move the actual home directory on disk from wherever Migration Assistant put it in /Users back to where it should be. It's rather annoying.

I finally took the coward’s way out: uninstalled MacPorts completely and deleted the macports user, then reinstalled MacPorts and my ports.

Murray Eisenberg		murrayeisenberg at
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list