峯言凬语 O ever youthful O ever weeping~
本无意与众不同,怎奈何口味太重。
首页
平水韵
颜色表
ABOUT
文章分类
友情链接
Linux修复usr权限错误
2018-08-17 |Nonni | TSI

Error:

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set.

Fixed:

reboot and login to recovery,

login to root prompt,

mount -o remount,rw /

mount –all

chown root:root /usr/bin/sudo

chmod 4755 /usr/bin/sudo

ls -l /usr/bin/sudo

chmod 644 /etc/passwd

chmod u+s /bin/su

reboot

respond-post-28

添加新评论

请填写称呼
请填写合法的电子邮箱地址
请填写合法的网站地址
请填写内容