Imported from the Apple Support Forums via the Wayback Machine 🔗
Press the Command and R keys at the same time when the grey screen appears and hold them until you see the Apple logo. A small loading bar will appear under the logo. Sit tight as your system boots into Recovery Mode. Click the Utilities tab in the top menu bar, select Terminal, type resetpassword and press Enter.