OCI: sudo: /etc/<sudo file> is owned by uid 1000, should be 0
NOTE: Please register a free account to access the full content and also to participate in Q&A in the community
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64 on Oracle Public Cloud
Symptoms:
Unable to run sudo
[opc@instance]$ sudo su
sudo: /etc/sudo.conf is owned by uid 1000, should be 0
sudo: /etc/sudo.conf is owned by uid 1000, should be 0
sudo: /etc/sudoers is owned by uid 1000, should be 0
sudo: no valid sudoers sources found, quitting
sudo: error initializing audit plugin sudoers_audit
Cause:
The issue is caused when the permissions of sudo related files changed. In this example
Tagged:
0