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

Deleted all users in WSL

$
0
0

I use Wsl Ubuntu 20.04 LTS.I don't know why but all users were deleted.I created a new user. I wish I had not done

passwd:

tetemp:x:1000:100::/home/tetemp:

and now

$ adduser rootadduser: Only root may add a user or group to the system.$ sudo adduser rootsudo: unknown user: rootsudo: unable to initialize policy plugin

I can't change passwd because it is read only.

-How can i get root back.
-Can I delete tetemp? (wsl starts as root if i can)


Viewing all articles
Browse latest Browse all 2809

Trending Articles



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