Update WSL Ubuntu password

Open Windows PowerShell as a Administrator
i) Run Following command:

wsl -u root

ii) enter username:

passwd {your-username}

iii) Update password:

Enter new password
Renter new password


This content originally appeared on DEV Community and was authored by Geeky Coder

Open Windows PowerShell as a Administrator
i) Run Following command:

wsl -u root

ii) enter username:

passwd {your-username}

iii) Update password:

Enter new password
Renter new password


This content originally appeared on DEV Community and was authored by Geeky Coder


Print Share Comment Cite Upload Translate Updates
APA

Geeky Coder | Sciencx (2025-01-09T19:07:20+00:00) Update WSL Ubuntu password. Retrieved from https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/

MLA
" » Update WSL Ubuntu password." Geeky Coder | Sciencx - Thursday January 9, 2025, https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/
HARVARD
Geeky Coder | Sciencx Thursday January 9, 2025 » Update WSL Ubuntu password., viewed ,<https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/>
VANCOUVER
Geeky Coder | Sciencx - » Update WSL Ubuntu password. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/
CHICAGO
" » Update WSL Ubuntu password." Geeky Coder | Sciencx - Accessed . https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/
IEEE
" » Update WSL Ubuntu password." Geeky Coder | Sciencx [Online]. Available: https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/. [Accessed: ]
rf:citation
» Update WSL Ubuntu password | Geeky Coder | Sciencx | https://www.scien.cx/2025/01/09/update-wsl-ubuntu-password/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.