-
All replies
-
Helpful answers
-
Apr 1, 2012 5:59 PM in response to news33by John Galt,Edit: Read and follow this before proceeding below the line. I do not believe it will work because you have no admin accounts, but try it anyway:
Mac OS X: Changing or resetting an account password
What you did is not supposed to be possible, but the impossible continues to amaze me.
Try this:
Boot single user mode: http://support.apple.com/kb/HT1492
at the prompt type the following (copy and paste to avoid mistakes)
mount -uw /
then type
passwd
at the prompt enter a new password for the root user (nothing will echo to the console) then type
reboot
Log in, enter your account settings and use the user name root and the password you created for it. Change your account type back to admin.
This should work.
You should disable the root user after this but I need to research that. At least this ought to get you started.
Some of the information in this KB article may be useful. It applies to earlier OS versions, but as I say you accomplished the impossible to nothing else seems to apply.
Message was edited by: John Galt
-
Apr 1, 2012 7:04 PM in response to news33by Linc Davis,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 Mac 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
Post any lines of output that appear below what you entered — the text, please, not a screenshot.
-
Apr 2, 2012 8:45 AM in response to Linc Davisby news33,<dscl_cmd DS Error: -14136 (eDSRecordNotFound)
-
Apr 2, 2012 10:51 AM in response to news33by Linc Davis,★HelpfulThat means you deleted the admin group itself, and who knows what else. The following might work.
Back up all data, then boot in single-user mode. When the text stops scrolling, follow the prompts to make the boot volume writable. Then enter the following command:
ls /var/db/.AppleSetupDone
You should get the following line of output below what you entered:
/var/db/.AppleSetupDone
If you do, then very carefully enter the following command:
rm !$
Now you should get the following output:
rm /var/db/.AppleSetupDone
Then enter
reboot
The system will boot into the Setup Assistant, as if you were setting it up for the first time. Create a user with the same name as the old admin user. Log in and test. I'm not sure what will happen to your other user accounts, if any. You may need to recreate them.
-
Apr 6, 2012 12:52 PM in response to Linc Davisby Mcadol,I have the same the same problem but probably easyer to resolve. Introducing the phrase you give to us <dscl . -read /groups/admin GroupMembership> the answer in my old Power G5 which I would like to get alive again terminal abswer is root. That means the only admin in that computer after cleaning and deleting a lot of things is the system. My account is standard as I see in Prefs > accounts.
The question is simple. How can I give admin privileges to myself? I don't remember the original admin name and I have reset the password of my standard account, giving too a password for removing firmware. Probably i forgot to select the hard disk when reseting the password.
Would you kindly help me , please?
-
Apr 7, 2012 9:53 AM in response to Mcadolby Mcadol,Solved by myself after ard naviation trouh Apple Kdb documents.
I'm very happy now.
-