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

When I boot Ubuntu 10.04.3 from a live CD, it asks me to enter a username and password. I have not booted before, and I haven't created an account.

share|improve this question
Then you aren't booting from the ( unmodified ) livecd. – psusi Feb 13 '12 at 19:16
Can you specify at what stage you're asked for a username and password? Maybe you can take a photo of your screen? Are you booting from a real CD disk or from a flash drive? If the latter is true - have you or somebody ever used that flash drive before? – Sergey Feb 13 '12 at 21:10
I tried to boot from a live-cd ( i get it from mail, long time ago) and from a flash drive (i used it before to install Ubuntu 11.10 successfully )... I'm asked for username and password just after the background appear – Sofiane Bouamine Feb 15 '12 at 9:06
it look like the problem is in Gnome because when i try to log in using Ubuntu as username and a blank password in xterm session it work .... – Sofiane Bouamine Feb 15 '12 at 11:20
@psusi - I have an unmodified liveCD and it has a password (14.02). Your comment is confusing. Are you saying that 10.04 did not have a password on the liveCD, but later versions do? Please clarify. – Greenonline Apr 3 '15 at 6:00
up vote 33 down vote accepted

The default username is ubuntu, and the password is blank on an Ubuntu LiveCD.

Brent posted the following over on serverfault:

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.

Press Ctrl+Alt+F1 and run this command:

sudo adduser username

Meanwhile in some other Ubuntu-Based Distros (Especially official ones), the user name goes by their distro name (e.g: Xubuntu='xubuntu', Lubuntu='lubuntu', etc) though you can also find the user name of it on some distros by looking at the upper-left hand corner.

share|improve this answer
it didn't work ....i'am bigginer in ubuntu... can you explain to me how to add a new user to the system more simply...thnx – Sofiane Bouamine Feb 13 '12 at 19:00
Sofiane - as @psusi said, an unmodified Ubuntu livedc should let you log in with the username ubuntu, and a blank password. If that doesn't work, the steps given should be fine - have a look at that linked question for some more options. – Rory Alsop Feb 13 '12 at 19:59
thank you Rory Alsop .... when i try to mount the hd partition (sudo mount /dev/sda2 /mnt) i get: (mount: you must specify filesystem type) – Sofiane Bouamine Feb 13 '12 at 20:37
@RoryAlsop: The instructions you are referring to will add a new user to the Ubuntu installation on your hard disk (assuming you already have one installed on /dev/hda1). This won't modify LiveCD. I don't see how this may help at all. – Sergey Feb 13 '12 at 21:06
But interestingly, the fact that Sofiane has got that far implies a successful login - will amend my post. – Rory Alsop Feb 13 '12 at 21:17

While it's ubuntu for Ubuntu live images it also depends on the flavor. For Edubuntu it's edubuntu.

share|improve this answer
Surprise, surprise - I've just found that it's "lubuntu" for Lubuntu! – lane Jan 26 at 13:38

The username is ubuntu and there is no password. I found this information in this blog.

share|improve this answer

Not blank...example in 14.10 live I installed xfce4 then logged out. Had to add a user. To do so press Ctrl+Alt+F2. You should now see a console. Type sudo adduser anyname and follow the instructions. Afterwards press Ctrl+Alt+F7. You should be at the graphic login able to use the info you created.

share|improve this answer

Update: Rewriting the same image to USB a second time prevented the login screen from appearing.

Reproduced on HP Elitebook Folio 1040 with the image from Downloaded and copied to USB with usb-creator-gtk 0.2.23.

$ sha1sum ubuntu-16.04.1-desktop-amd64.iso 
805337c2c3a00ac9b4a59a5c9692903ad30fe3ce  ubuntu-16.04.1-desktop-amd64.iso

None of the above mentioned username/password combinations works for me.

debian user since 1993.

share|improve this answer

protected by Community Oct 2 '12 at 18:40

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.