All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: photography and

Thank you for buying via links and ads on this site,
which earn me advertising fees or commissions.
As an Amazon Associate I earn from qualifying purchases.

Other World Computing...
B&H Photo...
As an Amazon Associate I earn from qualifying purchases.
Get all the tools you need to upgrade the factory HDD of any 2009-2019 iMac to a larger HDD or a modern SSD.
Upgrade the memory of your 2020 iMac up to 128GB

Forgot the Mac’s Admin Password?

One of my Macs I use as a bastion server for remote access, but the night before I left for a trip, I discovered that I had forgotten the admin password. I certainly did not have time to reinstall and reconfigure, so I wanted a quick fix.

The following applies to Mac OS X Snow Leopard; I don’t know if Lion behaves the same way. It worked great for me.

Your first option

Booting off a system DVD provides a “Reset Password” facility, but I had no bootable DVD for Snow Leopard (my disk was apparently damaged and would not boot).

Creating a new admin account in order to reset existing passwords

You will need to use Terminal in single-user mode.

1. Reboot, holding down cmd-S right as soon as the Mac makes its reboot chime. This boots into single-user mode.

2. At the text prompt (Terminal command line), enter these commands (you can copy and paste them from here):

mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now

3. Start up the Mac; it has reverted to the state as if it had not been used yet, like a brand-new installation.

At this point, you will need to create a temporary admin account. Create an account “temp”, login to “temp”, then change the password(s) on any existing account(s).

Finally, logout, then login as your preferred (prior) administrative account, and delete the “temp” account that you just created.

View all handpicked deals...

Canon EOS-1D X Mark II DSLR Camera (Body Only)
$5999 $2999
SAVE $3000 | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__