3 ms·
> Definitely worked with just apt-get for me. The install worked, but running it was a different story. It would spit out an error after every command. Like I
by lj3 10y ago
> Definitely worked with just apt-get for me.
The install worked, but running it was a different story. It would spit out an error after every command. Like I said, this was a while back. It's probably fixed now.
> Huh? It does not run as root by default.
When I run bash.exe, I'm greeted with this prompt
root@DESKTOP-F7NGQJX:~# pwd
/root
What do you see?
- JorgeGT 10y agoIn the latest build the installation script asks you to create an Unix user that becomes the default user (with sudo rights).
- kyriakos 10y agoThe first version only run as root. From the second release they added user creation when installing.
- lj3 10y agoGreat! Maybe I should remove it and re-install and see if I can trigger that.
- pugwash 10y agoNo need, you can use lxrun /setdefaultuser to change it. https://msdn.microsoft.com/en-us/commandline/wsl/user_support https://msdn.microsoft.com/en-us/commandline/wsl/user_suppor...
- JdeBP 10y agoActually, the first version never ran as root. It always ran as you, incorrectly reporting the user account.