1

I am unable to boot into Ubuntu 12.10. I have Windows 7 installed as well. The GRUB seems fine. I can boot into Windows. But when I boot into Ubuntu , the following appears.

"no matching password file entry in /etc/shadow add user 'varun'"

Varun
  • 11
  • 1

1 Answers1

0

This means your /etc/shadow file is missing user varun. Information about the /etc/passwd and /etc/shadow can be found here.

Use a live CD or a GRUB rescue prompt. For the 2nd one follow the answer with images here How do I reset a lost administrative password?

Have a look at your /etc/passwd file with more /etc/passwd|grep varun and at your /etc/shadow file with sudo more /etc/shadow|grep varun. if the 1st does contain a line and the 2nd does not you can re-create your shadow file with the command

sudo pwcon

After that you can use passwd varun to create a new password.

Rinzwind
  • 299,756
  • thank you for the information. Though I reckon my installation was faulty and a reinstall fixed it. However your help would come handy in the future. Thank you – Varun Jan 20 '13 at 05:56
  • drastic but I agree. In my newbie days I also a few times decided reinstalling would be better due to me doing the wrong thing ;) – Rinzwind Jan 20 '13 at 08:23