I'll talk about the antecedents first, and then I'll talk about the solution.
Antecedent
Today I do not know how to want to change the original name of the Apple Computer, so I did the following (you do not do this)
1. System Preferences → users and groups → current admin user → (right-click) Advanced Options
Then the account name and full name are changed.
2, then cried, my administrator account has become a normal user, can not unlock users and groups, but also normal use.
3, and then began to find a solution to the road.
4, we have to change the full name only to change the good, the other do not move, if you move the administrator rights are not.
How to Solve
The idea is to build a new (Admin account 1) to the original account (Admin account 2), and then delete the new (Admin Account 1) can (of course, you can not delete).
There will be no changes to the original data.
1, shut down and then power on while holding command+s and then we enter the interface that can enter the command
2. Input
MOUNT-UW/
(note after the T letter and the space after the W letter to enter) enter after entering
3. Input
rm/var/db/. Applesetupdone
Note that the M space and uppercase lowercase are correct, and then enter
4. Input
Reboot
And then enter.
5, entered the same as the new computer just boot to set the interface, in fact, is now in the settings of the new administrator, follow the prompts next step is good. The name is not the same as the original, in order to facilitate later operation good distinction.
6, set up, entered a new Account page, at this time without your information, do not fear, not lost. Then enter the user and group to find the original account → Click Allow users to manage this computer → OK
7, this time has been the authority back, in the current account cancellation restart, choose the original account landing on the good.
8, log on to the original account can be temporarily created by the administrator account was deleted by the minus sign, as prompted to completely remove the good, but after the deletion of the temporary creation of the administrator account of the group created, and then click the minus sign to delete the good.
So we can get it back.
You cannot unlock users and groups after an Apple Computer (MAC) Administrator account becomes an ordinary user