0

I recently used Harsh's mkusb instructions to create a persistent live USB. The default user for this live USB is named ubuntu with a default password of blank. I try to change user ubuntu's password via:

sudo passwd ubuntu

Then I enter the new password. The next time I reboot the live USB system the password defualts back to blank. The password I entered during sudo passwd ubuntu gets lost to the ether.

What happened to my password and how do I get it to remain permanent for this persistent live USB?

Display name
  • 2,231
  • Creating a new user works for me. – C.S.Cameron Jan 25 '19 at 03:58
  • 2
    With 18.04 default user is "Live session user" not "ubuntu" and password can not be changed. Using Settings/Details/Users/ you can add user Full Name "ubuntu", Username "ubuntu1" and use any password nine or more digits long. The name ubuntu will then be used when logging in and the password will stick. The user "Live session user" can then be removed. – C.S.Cameron Jan 25 '19 at 05:39
  • 1
    You can create any new user ID and name, and that new user can and should get a password as described at this link. The Ubuntu persistent live system 'does not want' to change the password of the default user, but that user can be removed after you have created another user with a password and admin privileges. – sudodus Jan 27 '19 at 11:01

0 Answers0