Resources

Subscribe

  • Subscribe

Reset OS X Login Passwords via Command Line

Posted by Scott | July 16, 2007 .

reset os x login passwordIf you’ve forgotten your OS X login password, or bought a used mac with an account already created, there is a pretty simple way you can still get into your account.  With some simple command line inputs you will be able to reset or change your password and be back in your account in no time.  The downside to doing this method is that you will your passwords that you have saved on your keychain.

To reset your OS X login password:

  • reboot the computer and hold Apple+S as the machine is booting.   This will put you in single user mode.
  • Now enter the following commands #sh /etc/rc
  • #passwd USERNAME (enter your username here)
  • #reboot

Thats it.  Your computer will restart and the password will be cleared out and your free to change it to whatever you think you will be able to remember this time.

Tip via: Hackszine

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name

Email

Website

Comments

2 Comments so far
  1. Fats Vernon July 16, 2007 8:48 pm

    Wow!! I mean wow!!! It only took THIRTEEN DAYS to put up some new content. Well done……YEESH! C’mon now…this is Mac UTOPIA right? not mac LIMBO????

  2. Scott July 16, 2007 9:11 pm

    Sorry about the lack of posts, I have a full time career and have been out of town a bit. I have a good number of posts planned to do, so I will try to get them up more frequently.