• 欢迎访问magento4you博客,我们提供magento建站、技术咨询、IT运维、支持培训、二次开发服务及模板定制,联系QQ:283475615
  • Magento入门教程 二次开发 模板定制 联系QQ:283475615
  • magento运营 SEO SEM 数字营销 广告竞价 联系QQ:283475615
  • 如果您觉得本站对你有帮助,那么赶紧使用Ctrl+D 收藏吧!

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

Linux magento4you 4年前 (2017-05-19) 1141次浏览

 

 

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

解决办法

  1. Log out as the current user, then log back in as root.
  2. Execute chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
  3. Log out as root, then log back in as the current user.

 

sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy’

解决办法

 

$ su root     #enter password
$ chmod 644 /usr/lib/sudo/sudoers.so
$ chown -R root /usr/lib/sudo

 


极客公园 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
喜欢 (0)