Today I was setting up Windows Subsystem for Linux and wanted to change to the root user using the command:
I was prompted for the password, but had no idea what it was. So I needed to figure out another way of switching to the root user instead of prefixing every command with sudo. Did I say switch and prefix and sudo? O yes, stupid me.
Don’t forget to exit once you are done. And be careful not to wrech havoc while working under the
root account. Have fun!