Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > my admin user account has dissapeared!?

my admin user account has dissapeared!?
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2002
Location: pantone 369 EC
Status: Offline
Reply With Quote
Nov 25, 2005, 08:32 AM
 
recently i made a clone of my 12" PB HD to an external drive to allow me to perform some checks on some faulty batteries - checking if it was the batteries or the OS (suggestion of Mac Genius at my local apple store).
All was well with the restored HD on my PB until i put it to sleep. The system froze when i tapped a key to wake it up. After a forced restart i reached the login panel am now refused entry, no matter what i type.
i have used the install disk to try to reset the admin password but there is now user account available on the drive.

Any ideas?
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Nov 25, 2005, 04:23 PM
 
If all else fails, you could go zap the NetInfo database and run the Setup Assistant again. To do this, start up into Single-User Mode by holding down the Command and S keys at startup. Then, type the following commands:

fsck
mount -uw /
cd /var/db
mv netinfo netinfo.bak
rm .AppleSetupDone
reboot

This should get you to the Setup Assistant, where you can create a new admin account.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Online
Reply With Quote
Nov 25, 2005, 04:25 PM
 
Is it wrong just to remove rm .AppleSetupDone without touching netinfo?

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Nov 25, 2005, 05:21 PM
 
Originally Posted by Big Mac
Is it wrong just to remove rm .AppleSetupDone without touching netinfo?
Dunno, I didn't try it. I'm not sure if the Setup Assistant would notice there was already an existing NetInfo database and just use that or not. I do know that if you move it, then Setup Assistant will definitely have to make a new one. And since we want to make a new NetInfo database from scratch anyway, it won't hurt.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Fresh-Faced Recruit
Join Date: Nov 2002
Location: pantone 369 EC
Status: Offline
Reply With Quote
Nov 26, 2005, 01:24 PM
 
thanks for the thoughts,
in the end i just made a fresh install and have copied across all my stuff from my backup. so far no problems all behaving normally.
Thanks again.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 26, 2005, 02:16 PM
 
Simply removing the .AppleSetupDone file will cause the initial setup dialogs to appear the next time you start the computer and allow you to create a new admin, but it won't otherwise touch anything on your system.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2