MJN All Blog Cheatsheets Elasticsearch GCP JS LinuxBash Misc Notes Other ShortcutKeys / - Search

Home / Other / WSL / Window WSL Change Password


Close any Ubuntu windows.

Open a cmd window - run as administrator.

Run: ubuntu config --default-user root.

Open Ubuntu. Will be logged in as root.

To change root password: passwd.

To change password of another user passwd martin.

Close Ubuntu window.

Run: ubuntu config --default-user martin.


This page was generated by GitHub Pages. Page last modified: 20/09/07 14:07