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?

  • Creating a new user works for me. – C.S.Cameron Jan 25 at 3: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 at 5: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 at 11:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.