sudo: could not load /usr/lib64/libsss_sudo.so: /usr/lib64/libsss_sudo.so: cannot open shared object file: No such file or directory
sudo: the SSS source could not be initialized. Is SSSD installed on your machine?
sudo: no valid sudoer source found; going out
sudo: policy plugin could not be initialized
I do not use sudo, but reading this a few questions come to my mind.
Did you follow the advice to check for SSD to be installed? when not why? and when yes, what was the result?
Because most sudo users are ral addicts to it, I assume that you used sudo earlier and that it worked to your satisfaction. What did you change between you last succesfull ud=sgae and now? Any software updates/installes/removals?
I agree with “arvidjaar” – you’ve installed “SSSD”, integrated it with “sudo” and then, backed out – without properly removing the SSSD integration with “sudo”.
If you’ve removed SSSD then the “sssd-sudo
” (5) man page is probably missing – please take a look at this version on “the net”: <https://linux.die.net/man/5/sssd-sudo>. - There’s also the “Integration with sssd
” section in the “sudoers.ldap” man page.
There may also be some entries in the user’s cache – please check the user’s “~/.cache/” directory for anything related to SSSD, LDAP and/or “sudo” – clear the user’s cache.