sudo: fatal error, unable to load plugins | sudo: /etc/sudo.conf is world writable

Опубликовано: 03 Октябрь 2024
на канале: Linux eHub
4,276
35

sudo: fatal error - This is due to file permission changed. Let's fix this issue.

From the error it is clear that file permission for
'/etc/sudo.conf' and '/usr/libexec/sudo/sudoers.so' is changed

permission for 'sudo.conf' should be "640" and for 'sudoers.so' should be "644"
chmod 640 /etc/sudo.conf
chmod 644 /usr/libexec/sudo/sudoers.so

Permission for '/etc/sudoers' nees to be changed
chmod 440 /etc/sudoers
sudo

Started working, Still permission for file '/etc/sudoers.d' needs to be changed
chmod 440 /etc/sudoers.d

Check now using "sudo" command
sudo

SOLVED !!

Thank you for watching.

Subscribe the channel
Like, Share & Comment

#LinuxeHub #sudo: fatal error #RHEL #CentOS #LinuxTroubleshooting #LinuxError #troubleshootinglinuxserverissues