在ubuntu环境下, 想往/etc/sudoers中添加可以执行sudo操作的用户,使用root将/etc/sudoers的权限修改为755后,提示出现标题中的错误:

修正方法:将/etc/sudoers的owner和组修改为root:

chown root:root /etc/sudoers

sudo: /etc/sudoers is owned by uid 755, should be 0

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-09-24
  • 2021-11-07
  • 2021-06-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-07-01
  • 2022-12-23
  • 2021-09-08
  • 2021-07-11
相关资源
相似解决方案