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

I Enabled WSL and Installed Ubuntu from the Microsoft Store, But Why Are My PC Users Not Showing Up in Ubuntu?

$
0
0

screenshot from ubuntu

I installed Ubuntu from the Microsoft Store after setting up WSL (Windows Subsystem for Linux), but after launching Ubuntu, I encountered an issue. By default, I am logged in as the root user, and when I try to navigate the directories or list the users, it only shows system users (such as root, daemon, bin, etc.), and not the regular users from my PC, like Auwal and Smith.

I’ve run several commands like cat /etc/passwd, ls /home, and others, but Ubuntu under WSL doesn't recognize or display these regular users. It only lists the system users and no user directories are shown for Auwal and Smith.

How can I get Ubuntu under WSL to recognize and display my PC’s users, such as Auwal and Smith, and how do I switch from the root user to one of these regular users?


Viewing all articles
Browse latest Browse all 2797

Trending Articles



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