change to root - bash on windows
#root password isn't set up yet
user@pc:/mnt/c/Windows/System32$ su - root
Password:
su: Authentication failure
..
#setup a root password
user@pc:/mnt/c/Windows/System32$ sudo passwd root
user: unable to resolve host pc
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
..
#login as root
user@pc:/mnt/c/Windows/System32$ su - root
Password:
root@pc:~#
--end-of-document--