On Sep 10, 2024, at 06:08, Gerben Wierda wrote:
> 
> Is there a way I can clone the MacPorts created users/groups first keeping 
> them at the same uid/gid and then do a reinstall, so MacPorts finds already 
> created users and leaves them alone?

If MacPorts needs a user account that doesn't exist it creates it with the next 
available UID. If matching UIDs between systems are important to you you can 
precreate users on the second system with UIDs matching those on the first 
system. MacPorts doesn't contain any code to help you do that so you'll be 
writing it yourself. MacPorts contains no code that keeps track of what users 
have been created either so you'll need to figure that out too. 

Reply via email to