Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 have the following problem with my computer. It's a desktop, 32 bit, originally came with Windows XP, 999.4 MiB of RAM, Intel Pentium(R) 4 CPU 2.60GHz x 2, 77.7GB disk space.

  1. I accidentally turned off my password, :( so if I need to download something I can't. And I can't put a diff. OS on here, my USB was missed up by Ubuntu, its a 1Gb USB, and it says there is no room on there "With nothing on it"

If I type su in the terminal, it asks me for my password, I type it in, doesn't work. This was before I changed my password. During the installation I was never asked for a password.

share|improve this question
Hi and welcome to AskUbuntu - we like singular questions that can be answered - I have edited your question as such. Thanks. – fossfreedom Nov 6 '12 at 14:04
Ya, Btw I have four questions... – Jonah Nov 6 '12 at 14:08
If you have four questions, post four different questions. Don't bunch them all together into one, Jonah. – Thomas Ward Nov 6 '12 at 14:15
ty now I know.. :p – Jonah Nov 6 '12 at 22:41

Can you use sudo command?

sudo <command_to_execute_as_root>

If not, you can try enter in the GRUB boot manager. In the Ubuntu option press the "e" key to edit, edit the line "linux /boot/vmlinuz-3.5.0-18-generic root=UUID=00aad4d6-a7e5-41ce-a25e-dfda8664bb99 ro quiet splash" and add in the end:


This boot machine with bash directly without passwd. The you must remount the root filesystem in read/write mode:

mount -o remount,rw /

And you can execute passwd to change the root passwd. ;)

share|improve this answer
:0? put in easier to understand terms, I have a young brain. – Jonah Nov 6 '12 at 22:43
Sorry, is the easiest way to recover lost root password. :( – Óscar García Amor Nov 8 '12 at 21:04
It's funny, I look back at all these old questions of mine and think " Huh, I now know how to compute :D " Yeah, it's a joke. – Jonah Feb 18 '13 at 5:44

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.