Replies: 1 comment 2 replies
-
|
@eliassal: If you created a new user, you need to add it to the sudo group. You can do that via: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a ubuntu 22.04 on wsl2 on win 10 machine.
First, when I run asl, I get a terminal with root@mymachine.
I ran
ubuntu2204.exe config --default-user myuser
closed and reopened terminal I see prompt now myuser@mymachine. However, I cant run any command without sudo evern the basic commands such as touch or mkdir in my home directory.
In a ubuntu or any linux machine, a lot of commands can be run without sudo except ones that need privilege escalation. How this can be achieved in ubuntu wsl?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions