1 Answer
- Newest
- Most votes
- Most comments
2
Hi,
Sometime it doesn't find path to sudo ie. /usr/bin/sudo. Try running "/usr/bin/sudo su -", if it doesn't work and you don't find sudo file at /usr/bin/, then please install sudo as below:
apt install sudo
Then, add your user to the sudo group using:
usermod -aG sudo your_username
You should be able to use sudo now.
If the answer is helpful, please click "Accept Answer" and upvote it.
PS: One thing, which I noticed is, there was no space between "su" and "-" in your question, I believe, that's just typo.
Relevant content
- asked a year ago
- asked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago