Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I created my user account I didn't choose a password but now when I try to install an app it says to authenticate with password, though I know not of a password that I can use. What should I do?

share|improve this question
2  
You need the password you inserted when you installed your system. We call that your sudo password and I do not believe you can install Ubuntu without typing a password ;) –  Rinzwind Apr 21 '12 at 16:32
add comment

1 Answer

  1. reboot
  2. press and hold Shift during boot
  3. choose 'recovery mode' or something similar
  4. you'll enter an interactive shell
  5. Bruno Pereira's comment is correct: Make the filesystem writeable by entering mount -o remount,rw / at the #-prompt
  6. enter passwd your_username at the #-prompt
  7. set your password
  8. type reboot
  9. return to your desktop and retry whatever you were doing.
share|improve this answer
2  
Recovery does not mount your filesystem rw, you need to mount it rw before changing the user's password. –  Bruno Pereira Apr 21 '12 at 16:35
    
By the way, if you don't know your username either, you can get a list of names of users on the system by running ls /home. (In Sotiris's case, there is probably just one.) –  Eliah Kagan Apr 21 '12 at 17:05
add comment

Your Answer

 
discard

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.