![]() If you are using Ubuntu 18.04 in WSL, the command has changed to ubuntu1804, so ubuntu1804 config -default-user your_username Use passwd command in Bash to change the user password (the user whose password you want to reset): passwd your_usernameĬhange the default user back to your normal user in Windows command prompt ubuntu config -default-user your_username ![]() Now Bash on Ubuntu on Windows logs you in as root without asking password.If you are using Ubuntu 18.04 in WSL, the command has changed to ubuntu1804, so ubuntu1804 config -default-user root ![]() In Windows admin command prompt ( Super+ X, A) change the default user to root: ubuntu config -default-user root
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |