Sample Header Ad - 728x90

How to switch from root to my unix user and solve (code .) command issue?

0 votes
0 answers
217 views
When I open ubuntu(wsl) on windows , usually, it opens as karim_123 user and not as root user. But this time it opened as a root user. How can I return back to my unix linux account(karim_123)? I used **su - karim_123** command but when I close the terminal and reopen it, it opens as root user again so I have to switch back to my user(karim_123) every time I open ubuntu terminal. Additionally, I’m not capable of using **code .** command anymore to open my files in VS code. So it is very annoying and I can’t work on my projects!
Asked by Karim (1 rep)
Sep 22, 2022, 07:14 PM