On Sep 10, 2024, at 4:20 PM, Gerben Wierda <[email protected]> wrote:
> Basically, my plan is to compare the local database 
> (/var/db/dslocal/nodes/Default) to see which items have been created by 
> MacPorts installs, copy these over so that a next MacPorts install would find 
> the users already created
> 
> But dscl cannot really do import/output so copying the plists is probably the 
> easiest option. I don't know if such a file based approach works (nothing 
> changed elsewhere on the system?)

I've done file copying like this when migrating some shell users from one macOS 
install to another (both with different hardware and different OS releases) - 
it should work (but YMMV).

-- 
Daniel J. Luke

Reply via email to