(The above swatch is from #14) I'll call this question Q05: "Do TARGET and CRASHED have the same main user name?". Answer05: There is only one main user on all my stuff, as far as I know. But as a check on that belief, I think I should verify that the UUID in the restored TARGET is 501. Which brings up RQ06: How do I determine the UUID of a user? (I've searched around the Web, and all I could find for UUID was device UUIDs)
What I asked is whether they have the same
name. When Migration Assistant examines the drive you are migrating
from it will look at the User account name. If it is the same as the User name on the machine you are migrating
to, it will offer to overwrite it, and it will keep UUID 501. If the name is different it will not ask but just migrate the different name as a second user, which will have UUID 502.
It used to be easy in old macOSes to see the UUID in Settings, but I see in current macOS it is no longer possible and now needs Terminal. I don’t know when it changed, so dont know whether it is easy in Sierra.
This link from 2009 mentions the old way:
“UID can be changed from GUI as follows. go to system preferences->accounts. unlock the lock at the bottom. select an account, control-click and choose "advanced options". you can change the UID there. you'll have to recursively change permissions on the home directory after you do this of course. not sure why you wnat to change GID and to what. leopard and snow leopard use default GID=20 (staff). I would not try to change it. you can of course but I'm not clear why you'd want to”.
However if there has only ever been one User account on both machines it is highly likely that both are UID 501 even if the User names are different. But as above if names are different the migrated user would become 502.