Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 just installed Linux on a virtual machine. During the installation, I setup account and password but later when I try to log in (after installation completes), I forget the password thinking I am having Alzhiemer [?]. really worried, someone could help me please ? Because now I can only log on with a guess account. Thank you so much.

share|improve this question

migrated from Feb 8 '12 at 18:57

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

May be Just kidding! – vines Feb 8 '12 at 9:21

The usual procedure for this is to boot into single-user mode. From there you can reset the password. The procedure for entering single-user mode will depend on which boot loader you use - GRUB or LILO.

For GRUB: Reboot the VM, highlight the line for Linux at the selection prompt, and press e.

For LILO: Reboot the VM. At the LILO: prompt, type in linux single and press Enter. (You might still be prompted for a password - if so, try linux init=/bin/bash instead.)

You can also reset the password by booting from a cd, but that's a bit more involved. I'd try the single-user mode route first.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.