Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 deleted my password after i had set it as a black field, i couldn't authenticate when installing software. i went on line asking how to get it back i got a way of doing this by booting using a live CD and deleted the code from the shadow file but now when i reboot my computer the administrator user says failed to authenticate. any with a help please. am running 11.01 on an HP- (Compaq nc6120)

share|improve this question

are you able to access a TTY?

if yes which would be control + alt+ F1 through F6

upon reaching a TTY follow this

  • sudo passwd root
  • (enter new password)
  • if that doesn't work try sudo passwd yourusername
  • (enter new password)
  • if none of these work, only option I know would be a reinstall.

best of luck -Larry

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.