TechSpot

Mac mini password forgotten

By sirnick
Apr 9, 2011
Post New Reply
  1. friend has a mac mini and he has forgotten his password to login and he doesnt have the original disc to re install OS. Any help is very much appreciated.
     
  2. SNGX1275

    SNGX1275 TS Forces Special Posts: 12,551   +301

    Reboot
    Hold apple + s down after you hear the chime.
    When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
    Code:
    mount -uw /
    rm /var/db/.AppleSetupDone
    shutdown -h now
    After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one.

    Stolen from here: http://gigaom.com/apple/reset-os-x-password-without-an-os-x-cd/
     
  3. sirnick

    sirnick TS Rookie Topic Starter Posts: 24

    thank you, i will give this a shot and post back the results.
     
  4. seanc

    seanc TS Rookie Posts: 284

    You might not want to delete the old account, since it may contain your data, but you should be able to reset the password.
     
  5. sirnick

    sirnick TS Rookie Topic Starter Posts: 24

    This does not work on the mac mini i have. I tried several times but it keeps going straight to the login screen. Any other help would be appreciated.
     
  6. seanc

    seanc TS Rookie Posts: 284

    Are you using an Apple branded keyboard?
    Is it one of the slimline silver ones? Some of those aren't supported by early machines.

    You may have to revert to one of the old apple pro keyboards or use a USB PC keyboard.
     
  7. sirnick

    sirnick TS Rookie Topic Starter Posts: 24

    if i revert to a PC keyboard which key would be considered the "Apple" or "Command" key? and yes it is the slimline silver one. But the keyboard works when i type in the password field, that command+s just doesnt do anything.
     
  8. sirnick

    sirnick TS Rookie Topic Starter Posts: 24

    Any suggestions?
     
  9. seanc

    seanc TS Rookie Posts: 284

    I'd typed a reply on my phone yesterday, but couldn't post it.

    The keyboard works once OS X has booted because Apple released software updates for OS X to make the keyboard work with it.

    You'll need a PC keyboard or older Mac keyboard.
    With a PC keyboard, I believe the alt key takes the place of the command key, if not it's the windows key.
     
  10. sirnick

    sirnick TS Rookie Topic Starter Posts: 24

    Used a PC keyboard and it worked. The windows key is the apple key. And this is funny, i got an old iMac G3 the other day and i had to reset it with these commands, but i used the slimline silver keyboard on the G3 and it worked LOL. Weird. Anyway thank you for the help, i really appreciate it!
     


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.