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.
相关内容
- AWS 官方已更新 4 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 10 个月前