1 個回答
- 最新
- 最多得票
- 最多評論
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.
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 10 個月前