1

I am new to Linux and I know that variations of this question have been asked before. However, none of the answers reflect what I see so I thought I'd try again from scratch,

I have installed live/persistent Ubuntu/Gnome 16.04 LTS to a USB stick using the Universal USB Installer at pendrivelinux.com

I can boot from the USB key and, using the "Try Ubuntu,,," option, get taken straight into a Gnome desktop without being asked for a password. If I log out of this session, I cannot log back in again because I don't know the password. I have searched this forum and find:

Some people have said quite categorically that the password is blank; wrong, this doesn't work.

Other people have said equally categorically that the password is "ubuntu"; wrong again, this doesn't work.

"Ubuntu" (another "definitive answer" in this forum) also doesn't work.

I have also tried, from other suggestions in this forum "utnubu", "reverse" and null. None of these works.

Help.

Please.

hwfa
  • 11
  • The default user profile has no password at all, not even an empty password. However, there should be no need to enter a password to access the user profile either. The described behaviour sound like a bug that you should report on Launchpad. In the mean time, don't log out of the default user account of the live system. – David Foerster Dec 13 '17 at 00:21
  • I want to log out because I want to log in as another user that has a password to protect the data. I don't want this data available to the default user with no password protection. – hwfa Dec 13 '17 at 11:16
  • Running a live session: It works for me in standard Ubuntu with the user ID 'ubuntu' and no password (just press the Enter key in the password box). Correspondingly it works in Lubuntu with the user ID 'lubuntu' and no password. I don't know about Ubuntu Gnome, but you can observe the user ID, when logged in and running a terminal window, and I would try with 'no password' there too. -- I guess you know the user ID and password of the other user that you created. – sudodus Dec 29 '17 at 21:11

2 Answers2

0

Here's the actual answer. Username is ubuntu-studio and no password. Based on the above response with Lubuntu login for live session, that actually worked.

Eliah Kagan
  • 117,780
0

You need to set a password as soon as you login. To do this, run the following command in a terminal:

passwd

Then, press enter if it asks for the current password because it should currently be blank.

Then, type a password when it asks you to and then press enter.

Confirm the password by typing it in again when you are asked to do so and then press enter .

You should now be able to log out and then back in again using this password.

note: You may need to do this again the next time you boot up using the USB stick.

mchid
  • 43,546
  • 8
  • 97
  • 150