I want to create a 'deep clone' of my MacPorts setup on another Mac. Both are 
running macOS Sonoma.

Just reinstalling everything is the way to go, but for certain reasons, I would 
like to have a deeper equivalence, expecially with respect to users and groups 
created on install (for instance I run unbound/nsd and they create users). 
These users are created in the 'local database' which can be read/written by 
the dscl command.

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?

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon 
<https://newsie.social/@gctwnl>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
YouTube Channel <http://www.youtube.com/@GerbenWierda>

Reply via email to