โค้ด: เลือกทั้งหมด
sudo chmod 777 -R /
แก้ไขยังไงsudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Moderator: mindphp, ผู้ดูแลกระดาน
โค้ด: เลือกทั้งหมด
sudo chmod 777 -R /
แก้ไขยังไงsudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
โค้ด: เลือกทั้งหมด
sudo su
chown -R root:root /etc
find /etc -type f -exec chmod 644 {} +
find /etc -type d -exec chmod 755 {} +
chmod 755 /etc/init.d/* /etc/rc.local /etc/network/* /etc/cron.*/*
chmod 400 /etc/ssh/ssh*key
ยังเป็นเหมือนเดิมค่ะmindphp เขียน: ↑02/12/2020 4:11 pm ลองตามนี้ เฉพาะ folder ที่จำเป็นอ้างอิงโค้ด: เลือกทั้งหมด
sudo su chown -R root:root /etc find /etc -type f -exec chmod 644 {} + find /etc -type d -exec chmod 755 {} + chmod 755 /etc/init.d/* /etc/rc.local /etc/network/* /etc/cron.*/* chmod 400 /etc/ssh/ssh*key
https://askubuntu.com/questions/308939/ ... 031#309031
โค้ด: เลือกทั้งหมด
$ chmod 644 /usr/lib/sudo/sudoers.so
$ chown -R root /usr/lib/sudo
$ reboot
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 52