Howto: Ubuntu Live CD root password for default user Ubuntu

sudo passwd ubuntu

Then create your password, you will need to already be in Terminal 😉

Ubuntu user: You will have to sudo once you login to do anything powerful

ubuntu default root password:

To create a usable root user’s account on a live cd, you can set the root password then su. This has not been possible in previous versions of Ubuntu as their user model made you remember to sudo before each command requiring root access.

sudo passwd root

It’s easier just to sudo command for one time use, instead of creating a root user to su to.

As of Ubuntu 9.10, I haven’t been able to login with “demo” or “Ubuntu” as the password for live session username “Ubuntu”.

If you are running most other types of linux like Debian, Red Hat, Mepis, Suse and others, they have an actual root user with an account.

It is easier to gain root access permanently, for these other flavors of Linux click here to learn how.

If you’ve forgot your root password and need to reset it, Make Magazine has a nice writeup here:

HOWTO – reset a lost Ubuntu password

4 Comments

  1. Damon says:

    Awesome. Thanks.

  2. salva says:

    Fast and useful, THANKS!!!

  3. MANI says:

    really fast and very usefull info.. :)

  4. amba says:

    Help! I got logged out while using the Ubuntu 9.10 based O.S. on Kleo Bare Metal Backup and Restore and to log back in a username and password are required. Does anyone know or have a guess what these credentials could be?

Leave a comment