I have a MacBook Pro which is attached to an AD domain. The user has a domain account which is Administrator, Managed and Mobile - the home directory is on the local machine.
The company is closing and the user is keeping the Mac, so I want to change the account to be a local account, or recreate a local account with the same name and change ownership.
When I remove the machine from the domain, I don't seem to be able to delete the user from the Accounts panel.
I presume I can remove them from the machine if I rejoin the domain, and then change ownership of the home directory with
find; is there a cleaner way?