You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Linux - sudo: error in /etc/sudo.conf, line X while loading plugin "sudoers_policy"

edited Apr 24, 2025 4:46PM in Linux

Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms:
When attempting to use sudo, the following error occurs:


$ sudo systemctl status firewalld
sudo: error in /etc/sudo.conf, line 19 while loading plugin "sudoers_policy"
sudo: /usr/libexec/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins

Cause:
The error is caused by incorrect file permissions on /usr/libexec/sudo/sudoers.so ; The file must only be writable by root.

However, the file had broader write permissions that violated this rule, it was set with write permissions for users or groups other than root.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!