{"id":876,"date":"2019-02-09T15:19:57","date_gmt":"2019-02-09T14:19:57","guid":{"rendered":"https:\/\/jeremyverda.net\/?p=876"},"modified":"2019-02-09T15:19:58","modified_gmt":"2019-02-09T14:19:58","slug":"how-to-reset-wsl-password","status":"publish","type":"post","link":"https:\/\/jeremyverda.net\/how-to-reset-wsl-password\/","title":{"rendered":"How to reset WSL password"},"content":{"rendered":"\n
If you are using Windows Subsystem for Linux and you forgot your password, here is a small howto to reset it.<\/p>\n\n\n\n
This howto is based on Ubuntu 18.04 but it seems it can be used for any other version.<\/p>\n\n\n\n
your_username@computer:~$ whoami
your_username
<\/pre>\n\n\n\n
ubuntu1804 config --default-user root<\/pre>\n\n\n\n
root@computer:~#<\/pre>\n\n\n\n
root@computer:~# passwd your_username
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully<\/pre>\n\n\n\n
ubuntu1804 config --default-user your_username<\/pre>\n\n\n\n
If you are using Windows Subsystem for Linux and you forgot your password, here is a small howto to reset it. This howto is based on Ubuntu 18.04 but it seems it can be used for any other version. Launch Read More …<\/a><\/p>\n","protected":false},"author":1,"featured_media":882,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9,18,25],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"\n