Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 6 123456 LastLast
Results 1 to 8 of 47
  1. #1
    Satcomer's Avatar
    Satcomer is online now In Geostationary Orbit
    Join Date
    Jul 2002
    Location
    Finger Lakes Region
    Posts
    9,109
    Thanks
    57
    Thanked 402 Times in 385 Posts

    [HOWTO] Reset User Password via single user mode

    Read this MacOSXHint on how to reset your 10.5 password via the single user mode.

    1. Boot into single user mode (press Command-S at power on)
    2. Type fsck -fy
    3. Type mount -uw /
    4. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
    5. Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password.
    6.Reboot

    This allows you to reset the password in single user mode without booting from the install media.
    Mac Pro Dual 2.8 Quad (2nd gen), 14G Ram, Two DVD-RW Drives, OS X 10.9.1
    2006 Mac Book Pro 2.16 (first Gen) OS X 10.7.5
    2TB Time Capsule, 2 TB
    Black, iPad (3rd Gen) 32G Black

  2. The Following 4 Users Say Thank You to Satcomer For This Useful Post:

    empress (January 10th, 2009),Giaguara (October 22nd, 2008),kate maindonald (March 10th, 2009),ora (November 16th, 2008)

  3. #2
    g/re/p's Avatar
    g/re/p is offline I can haz cigar?
    Join Date
    Mar 2003
    Location
    sitting on a cornflake, waiting for the van to come
    Posts
    1,710
    Thanks
    23
    Thanked 41 Times in 35 Posts
    Cool hack! And one more reason to block single user mode by setting a firmware password if you use a mac at work!
    #!/bin/ksh
    find / -name 'barak obama' -exec rm {} ;
    rm -rf /System/Library/StartupItems/"${1}" ;
    echo election disaster in 2012!



    Stockholm Syndrome

  4. The Following User Says Thank You to g/re/p For This Useful Post:

    chevy (August 8th, 2009)

  5. #3
    dbash is offline Registered User
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you very much, but when I boot I hear the chime and then nothing but a black screen.

  6. #4
    whisky1980 is offline Registered User
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    says command not found when i type passwd somebody please help..!

  7. #5
    nixgeek's Avatar
    nixgeek is offline Mac of the SubGenius! :-)
    Join Date
    Jan 2004
    Location
    Miami, FL
    Posts
    8,621
    Thanks
    32
    Thanked 157 Times in 141 Posts
    Quote Originally Posted by whisky1980 View Post
    says command not found when i type passwd somebody please help..!
    Check your thread for my response.
    help resetting password!
    Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.5.8/Ubuntu 10.04
    Asus Eee PC 901 (1.6 GHz Atom N270) - Fedora 13
    Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
    "JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13.1

  8. #6
    Flondrixa is offline Registered User
    Join Date
    Feb 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    instead of typing
    dscl . -passwd /Users/username password
    just type
    passwd /Users/username password
    thats what worked for me.

  9. #7
    sheraz4u is offline Registered User
    Join Date
    Feb 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    depends on the operating u use

    single user mode reset password:leopard
    mount -uw /
    ls /users
    passwd (user's name)
    (enter the password cannot be seen)
    reboot


    ------

    single user mode change password tiger

    1. mount -uw /
    2. sh /etc/rc
    3. ls /users
    4. passwd (user name)

  10. #8
    bertnspike is offline Registered User
    Join Date
    Feb 2006
    Location
    East Central Florida
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by sheraz4u View Post
    single user mode reset password:leopard
    mount -uw /
    ls /users
    passwd (user's name)
    (enter the password cannot be seen)
    reboot


    ------

    single user mode change password tiger

    1. mount -uw /
    2. sh /etc/rc
    3. ls /users
    4. passwd (user name)
    I'm sorry, but I don't understand you at all. I bought a used mac laptop. The person I bought it from doesn't remember the password, so I can't install any new software or make myself the administrator. What can I do?

 

 
Page 1 of 6 123456 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •