<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>I want to create a 'deep clone' of my MacPorts setup on another Mac. Both are running macOS Sonoma.</div><div><br></div><div>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.</div><div><br></div><div>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?</div><br><div>
<meta charset="UTF-8"><div>Gerben Wierda (<a href="https://www.linkedin.com/in/gerbenwierda">LinkedIn</a>, <a href="https://newsie.social/@gctwnl">Mastodon</a>)<br><a href="https://ea.rna.nl/">R&A IT Strategy</a> (main site)<br>Book: <a href="https://ea.rna.nl/the-book/">Chess and the Art of Enterprise Architecture</a><br>Book: <a href="https://ea.rna.nl/the-book-edition-iii/">Mastering ArchiMate</a></div><div><a href="http://www.youtube.com/@GerbenWierda">YouTube Channel</a></div>
</div>
<br></body></html>