我正在使用 AWS EC2 Ubuntu 14.04.4。我无法执行 su 或 sudo。您能帮我解决这个问题吗?提前谢谢。
ubuntu@ip-172-31-25-194:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
ubuntu@ip-172-31-25-194:~$ su
Password:
setgid: Operation not permitted
ubuntu@ip-172-31-25-194:~$ sudo -i
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
ubuntu@ip-172-31-25-194:~$ sudo apt update
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
ubuntu@ip-172-31-25-194:~$