How do I set the `root` password for Ubuntu in WSL?

Step 1

wsl -u root

Step 2

passwd root

I set 1 as the password.

askubuntu.com/a/1206622