|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
Registered User
Join Date: Jan 2008
Posts: 2
|
Leopard: Removed the /var/db/.AppleSetupDone File, how do I reverse this?
So I tried to get the Mac to rerun the setup so we could establish another administrator account. I booted the Mac into Single User Mode (apple+S at startup), however when I removed the flag file (rm -rf /var/db/.AppleSetupDone) and prompted the computer to reboot, it gets stuck at the loading screen. When I logout through Single User Mode, it is telling me that the root account cannot be found.
I don't think it makes a difference, but just to be sure - before this was done, the computer was rebooted with the OS X 10.5 CD in the drive and I ran the Password Change Utility and changed the System Administrator (root) password. You (Katelyn) put in your own password. The setup was ended and the computer was restarted - and it booted fine. The problems only arose after the flag file was removed. Here is a quote from the MacWiki I used: http://www.macshadows.com/kb/index.p...ol_of_Mac_OS_X "System Setup Re-Run Administrator If you don't have enough time or simply want to create an easy, visible admin account, use the following steps. This has been known to work on all versions of Mac OS X. The initial System Setup wizard that runs when your Macintosh has had a fresh install creates an Administrator account by default. Since that is all that this utility does, we can force the utility to run again and create a brand new account. 1. Enter single user mode (see above). Once in single user mode, check the filesystem and mount the hard drive. fsck -y mount -uaw / 2. All we need to do now is remove a flag file from the system rm -rf /var/db/.AppleSetupDone 3. Now reboot reboot Upon reboot, your machine will run through the system setup wizard. Note that if you are trying to be inconspicuous, you may want to turn down the volume or plug in headphones." Basically I need to know how I can get the Mac to find the root user so the computer boots up properly. How? D: |
|
|
|
|
|
#2 |
|
League Commissioner
Join Date: Sep 2004
Location: Las Vegas
Posts: 5,875
|
There is no need to rerun Setup to create another Administrator account. Simply open the Accounts preferences (Apple menu -> System Preferences), unlock the preferences and create a new account. You will have the option to make that new account an Administrator account.
__________________
Las_Vegas -- Ts'i mahnu uterna ot twan ot geifur hingts uto. -- Sometimes I wonder… Why is that Frisbee getting Larger? …and then it hits me. -- Disposable thumbs make me specialer than most animals… |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2008
Posts: 2
|
@ Las_Vegas:
I don't need to know how to make a new Admin account at this point, I need to know how to reverse the removal of the flag file so that the computer will actually boot up into the OS instead of being stuck at the loading screen. I need it to find how to get the root user to be recognized or something... |
|
|
|
|
|
#4 |
|
League Commissioner
Join Date: Jan 2005
Posts: 8,361
|
This is what mine looks like:
Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict/> </plist> Code:
mount -uaw / cd /var/db echo '<?xml version="1.0" encoding="UTF-8"?>' > .AppleSetupDone echo '<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' >> .AppleSetupDone echo '<plist version="1.0">' >> .AppleSetupDone echo '<dict/>' >> .AppleSetupDone echo '</plist>' >> .AppleSetupDone |
|
|
|
|
|
#5 |
|
League Commissioner
Join Date: Sep 2004
Location: Las Vegas
Posts: 5,875
|
You can enable the ROOT account by booting the OS X Install DVD and select the Password change utility.
__________________
Las_Vegas -- Ts'i mahnu uterna ot twan ot geifur hingts uto. -- Sometimes I wonder… Why is that Frisbee getting Larger? …and then it hits me. -- Disposable thumbs make me specialer than most animals… |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|