Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

i deleted my administrator account and cannot make any changes in preferences.

I deleted my administrator account and log my users & groups is locked. I cannot open it, with name and old password. I cannot restore as Lion was downloaded from app store and needs login to re download.


Help

iMac, Mac OS X (10.7.4)

Posted on Jul 18, 2012 5:54 PM

Reply
Question marked as Best reply

Posted on Jul 18, 2012 7:45 PM

Please carefully read


http://www.macworld.com/article/1164599/reset_password_lion.html

2 replies

Jul 18, 2012 8:17 PM in response to LARKO104

Launch the Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.

Drag or copy — do not type — the following line into the Terminal window, then press return:

dscl . -read /groups/admin GroupMembership

You should get the following output below what you entered:

GroupMembership: root admin1 admin2 ...

where admin1, admin2, ... are the names of the admin users.

i deleted my administrator account and cannot make any changes in preferences.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.