0

Although I've set up a username and password when I was installing Ubuntu 13.04, when I type in my password it says it's incorrect although language is checked and my password's correct. What's wrong?

Zanna
  • 70,465
Ele
  • 33
  • 1
  • 1
  • 3

1 Answers1

0

If You don't want to reinstall your os, then you can boot from a live CD an generate passwd hash, and replace the line in /etc/shadow

The structure of the file is:

enter image description here

the second field is the password hash.

IamK
  • 298
  • 1
  • 6
  • 15