Ubuntu – Password for Live Session User in Ubuntu/Gnome 16.04

gnomelive-usbpassword

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.

Best Answer

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.