Forgotten admin password

Discussion in 'macOS' started by piperty, Jul 17, 2010.

  1. piperty macrumors newbie

    Joined:
    Jul 17, 2010
    #1
    I am needing to update some software, and am being asked for my permission to do so. I can not, for the life of me, remember my admin password, and don't have install disks (computer was a hand-me-down). Is there anything that I can do to recover the password? TIA!
     
  2. iBookG4user macrumors 604

    iBookG4user

    Joined:
    Jun 27, 2006
    Location:
    Seattle, WA
    #2
    If it is an Intel Mac, go pick up Snow Leopard for $29.
     
  3. piperty thread starter macrumors newbie

    Joined:
    Jul 17, 2010
    #3
    It's a G5 PPC.
     
  4. iBookG4user macrumors 604

    iBookG4user

    Joined:
    Jun 27, 2006
    Location:
    Seattle, WA
    #4
    Ah, then you'll need to find a copy of Leopard.
     
  5. Theclamshell macrumors 68030

    Joined:
    Mar 2, 2009
    #5
  6. davidlv macrumors 65816

    Joined:
    Apr 5, 2009
    Location:
    Kyoto, Japan
    #6
    I know this works on SL, haven't tried it on Leopard, but it should work.
    Reset password
    Method 1
    * Hold Apple+S when booting to enter single user mode
    * #sh /etc/rc
    * #passwd yourusername
    * #reboot

    Method 2
    1. Power on or restart your Mac.
    2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.
    3. This step is optional, but it’s a good idea because it checks the consistency of the hard disk before moving on. At the prompt, type fsck -fy and press Enter/Return. Wait for the checks to complete before going to the next step.
    4. Type mount -uw / and press Enter.
    5. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist and press Enter.
    6. Type ls /Users and press Enter. This lists all of the usernames on the computer – helpful if you don’t know or remember what these are.
    7. Type dscl . -passwd /Users/username password and replace “username” with one of the users displayed in the previous step. Replace “password” with a new password of your choice. Press Enter.
    8. Type reboot and press Enter.
     
  7. bobr1952 macrumors 68020

    bobr1952

    Joined:
    Jan 21, 2008
    Location:
    Melbourne, FL
    #7
    For the other side of the story--for those paranoid enough--you can make it so this method doesn't work buy following these steps:

    http://support.apple.com/kb/ht1352
     

Share This Page