Closed andrewyang24 closed 2 years ago
If you run wsl
in your windows shell/powershell, then you are automatically using Bash because that is the shell for your Linux environment. If you want to see what shell the current user is assigned run echo $SHELL
. It looks like you may not have created a non-root user. In the WSL install tutorials that are linked from the assignment it walks you through creating a regular user.
If there is something that seems off in the instructions , go through this checklist:
None of the above, create an issue
Make sure to add all the information needed to understand the error so that someone can help. If the info is missing we'll add the 'Needs more information' label and close the issue until there is enough information.
Delete text above this line before you submit your issue. Place your issue information in the appropriate sections below.
URL of file with confusing thing
https://github.com/comp426-2022-fall/a00-onboarding-andrewyang24
Line number of confusing thing
What is confusing?
After installing wsl and entering the wsl environment, I unable to proceed with the rest of the onboarding steps. I checked that I installed it with administrative privileges, and I went through the ubuntu login process. The error shows: bash: sudo: command not found
What do you think the confusing thing means?
I believe I am logged in as the root user, but I'm trying to get to bash ($). I'm unsure how to do so and I couldn't find any solutions online that have worked.