Firstly - set the default user to be "root" like this:
At at CMD prompt with Administrator rights:
C:\WINDOWS\system32>ubuntu config --default-user root
Then open WSL and run:
# passwd defaultuser
To set the password for your preferred user (in example: "defaultuser")
Then,
At at CMD prompt with Administrator rights:
C:\WINDOWS\system32>ubuntu config --default-user defaultuser
And then restart your WSL.
Thereafter use the passwd you set above for "defaultuser" above when you run a "sudo" command...