After a power shortage a Mac with El Capitan installed, downgraded to 10.6 and the admin account is missing.

The main session password is also in an older state, and we cannot connect anymore. We have tried to suppress the /var/db/.AppleSetupDone and go through the account creation process but without success.

Does anyone have any way to retrieve an admin account?

  • 2
    Are you saying that before the power-cut it was running El Capitan & afterwards it was mysteriously running Snow Leopard, with no human intervention?? – Tetsujin Jun 20 '16 at 7:16
  • The proper method to initiate a new OS X setup is to delete/rename /var/db/.AppleSetupDone! Does the Mac boot to a netboot/netinstall image? Please add the Mac model and your system/network environment! With the given details it's almost impossible to reproduce the incident or present a solution. – klanomath Jun 20 '16 at 7:32
  • @Tetsujin Yes, as crazy as it sounds... Actually the first boot after the powershortage took many hours, so someone hard rebooted the computer. At the next start it was on 10.6. – user188998 Jun 20 '16 at 7:47
  • @klanomath I am not near the machine right now, I will do so when possible, sorry. Also we already did the delete /var/db/.applesetupdone – user188998 Jun 20 '16 at 7:48
  • Please check if the Mac booted from another partition or external drive (with 10.6 installed). It sounds more likely to me that a macOS downgrading itself. Also, i don't understand what you mean by "main session password is also in an older state". Can you explain further on that? – J.C. Jun 20 '16 at 8:03

Try restarting and then press Command+S. This will boot the computer in single user mode. After everything loaded, type in ( /sbin/ mount -uw /)first, then (rm /var/db/ .applesetupdone), and finally (shutdown -h now )or (reboot). This erases the previous setup and makes the mac think its brand new. All you would need is to create a new admin account.

You must log in to answer this question.