I have a serious problem with my Mac - I don't need to enter my password to login but when I need to edit a file using the vi editor I have to enter the password. I don't remember the password - is it possible to recover it?

migrated from stackoverflow.com Jul 19 '10 at 3:30

This question came from our site for professional and enthusiast programmers.


From the Mac Help, when searching for "forgot password":

If you forget your administrator password

If you don’t remember your administrator password, you can reset it using the Mac OS X installation disc.

To reset the administrator password using the Mac OS X installation disc:

  • Insert the Mac OS X installation disc into your computer’s optical drive (or an optical drive connected to your computer), and then double-click the Install Mac OS X icon.

  • In the Installer, click Utilities, and then click Restart.

  • When the Language Chooser appears, select your language, and then click the Continue button (looks like an arrow).

  • In the Installer, choose Utilities > Reset Password.

  • Follow the onscreen instructions to change the password.

  • So in brief: The functionality you need is available when you boot your Mac on the installation media. – Thorbjørn Ravn Andersen Oct 29 '10 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy