What's the default username and password for an Ubuntu Live CD?

345,784

Solution 1

I'm not sure what the answer is, but I've solved this another way, so it's not a problem for me anymore. I discovered recently that it's possible to disable the password for an account. You can do this to force ssh key logins. I suspect that's what's going on here.

Solution 2

Try 'ubuntu' with an empty password. If that doesn't work, you're probably best recopying the squashfs.

Note that squashfs is readonly, I assume you mean you copied the unionfs that lies on top of the squashfs and the tmpfs?

Solution 3

If the username "ubuntu" with an empty password doesn't work, you may be able to add a new user to the system as follows:

  1. Boot from a live CD, and start a terminal session.
  2. Mount your hard drive partition somewhere, like /mnt (i.e. mount /dev/hda1 /mnt)
  3. chroot /mnt
  4. adduser username
  5. Reboot
Share:
345,784
Araejay
Author by

Araejay

Updated on September 17, 2022

Comments

  • Araejay
    Araejay almost 2 years

    What's the username and password for an Ubuntu Live CD image?

    I ask because I've recently copied the contents of an Ubuntu based live ISO (easypeasy, the ldistro for nwtbooks) onto a hard disk drive, but the Squashfs file system is corrupt, most likely because I copied it live. :) So it's not autologging in. Is there a username/password for this?

    Update: I tried username Ubuntu and a blank password, and it didn't work.

    • binki
      binki about 9 years
      Did you try lowercase ubuntu with no password?
    • T.Todua
      T.Todua over 7 years
      password could be: reverse
  • Araejay
    Araejay about 15 years
    'ubuntu' with blank password didn't work. I did a dd of the /dev/sdc (the SD card with the live 'CD' image) to /dev/sda (the harddrive). I think....
  • Javier Mr
    Javier Mr about 9 years
    Also mention that other flavors may have they own username, for example in Kubuntu 15.04 the user name is 'kubuntu'.
  • swdev
    swdev about 6 years
    Confirm works with ubuntu empty password in Xubuntu 16.04 livecd