Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2815

How do I change the default user that signs in on WSL?

$
0
0

I'm running Ubuntu terminal on windows with WSL, Every time I launch the terminal it signs me in as the root user. I've created a new user and given them root privileges so that I can code easier. How do I change the default user that gets signed in?

This is what I see when I launch:

This is what I see when I launch

After running su shayc I can get to my user, but how do I avoid doing thisevery time?

**UPDATE: **I've tried setting a default user in /etc/wsl.conf

This is the wsl.conf file

Note: also I am not able to run WSL commands

wsl not found


Viewing all articles
Browse latest Browse all 2815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>