4 ms·
> I don't know if that's necessary anymore or if they fixed the issue Definitely worked with just apt-get for me. >A bigger issue, for me, is it runs as root
by ryanlol 10y ago
> I don't know if that's necessary anymore or if they fixed the issue
Definitely worked with just apt-get for me.
>A bigger issue, for me, is it runs as root by default. I was able to create another user and manually switch over using 'su', but it's an annoyance. I haven't figured out how to automatically start a session as a non-root user using zsh.
Huh? It does not run as root by default.
- 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.