LoginSignup
1
0

More than 5 years have passed since last update.

"sudo: /etc/sudoers.d/00_wheel is mode 0644, should be 0440\r\n\r\nfujitora is not in the sudoers file."エラー

Posted at

ansibleを実行したら

FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "sudo: /etc/sudoers.d/00_wheel is mode 0644, should be 0440\r\n\r\nsampleuser is not in the sudoers file.  This incident will be reported.\r\n", "msg": "MODULE FAILURE", "parsed": false}

とエラーが出た。

sshでサーバーに入ってsudoコマンド実行しても

sudo: /etc/sudoers.d/00_wheel is mode 0644, should be 0440

とでた。

解決方法

chmod 0440 /etc/sudoers.d/00_wheel

いままで出なかったのに急にでるようになったのはなぜなのか、、、

参考サイト

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0