Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from 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.

share|improve this answer
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

You must log in to answer this question.