Last week we installed SUSE Linux Enterprise Server SP6 on a server. The installation went fine. We created a user stcadmin and gave him sudo access also, However when we try to run sudo su - root we are getting the following error
sudo: unable to load /usr/lib64/libsss_sudo.so: /usr/lib64/libsss_sudo.so: cannot open shared object file: No such file or directory
sudo: unable to initialize SSS source. Is SSSD installed on your machine?
sudo: error initializing audit plugin sudoers_audit
We have another server where we are running SLES 12 SP5 and we are not seeing this issue. So the question is
a. How to install SSSD on the server?
b. If not how to disbale the SSS_SUDO?
Any help in this regard is much appreciated
@hundikamath I would suggest using zypper se -i sssd
on the SP5 system to see what is installed and duplicate on the SP6 system, but also check the pam configs for any customizing on the SP5 system
Thanks or the response. I checked and this is the response. There is no SSSD installed on SP5
stcadmin@CPCINCHDV502689:~> sudo zypper se -i sssd
[sudo] password for root:
Loading repository data…
Reading installed packages…
No matching items found.
On SLES 15 SP6 it recommended to use zypper search-packages instead of the above command. which gave out the following
Package Module or Repository SUSEConnect Activation Command
python3-sssd-config Available in repo Basesystem-Module_15.6-0
sssd Available in repo Basesystem-Module_15.6-0
sssd-32bit Available in repo Basesystem-Module_15.6-0
sssd-ad Available in repo Basesystem-Module_15.6-0
sssd-dbus Available in repo Basesystem-Module_15.6-0
sssd-ipa Available in repo Basesystem-Module_15.6-0
sssd-kcm Available in repo Basesystem-Module_15.6-0
sssd-krb5 Available in repo Basesystem-Module_15.6-0
sssd-krb5-common Available in repo Basesystem-Module_15.6-0
sssd-ldap Available in repo Basesystem-Module_15.6-0
sssd-proxy Available in repo Basesystem-Module_15.6-0
sssd-tools Available in repo Basesystem-Module_15.6-0
sssd-winbind-idmap Available in repo Basesystem-Module_15.6-0
python3-sssd-config Available in repo Basesystem-Module_15.6-0_1
sssd Available in repo Basesystem-Module_15.6-0_1
sssd-32bit Available in repo Basesystem-Module_15.6-0_1
sssd-ad Available in repo Basesystem-Module_15.6-0_1
sssd-dbus Available in repo Basesystem-Module_15.6-0_1
sssd-ipa Available in repo Basesystem-Module_15.6-0_1
sssd-kcm Available in repo Basesystem-Module_15.6-0_1
sssd-krb5 Available in repo Basesystem-Module_15.6-0_1
sssd-krb5-common Available in repo Basesystem-Module_15.6-0_1
sssd-ldap Available in repo Basesystem-Module_15.6-0_1
sssd-proxy Available in repo Basesystem-Module_15.6-0_1
sssd-tools Available in repo Basesystem-Module_15.6-0_1
sssd-winbind-idmap Available in repo Basesystem-Module_15.6-0_1
@hundikamath the -i
option shows only installed packages. So if sssd isn’t installed, likely some mis-configured pam file. Check the history or audit logs for users and/or root user to see if something was edited pam related.
Thanks for the response. The SUSE LInux 12 SP5 was installed 3 weeks back and the SUSE LInux 15 SP6 was done lats week. The issue of SUdo error is happenning on SLES 15 SP6 server immediately after the setup.
@hundikamath so in the SP6 system you have installed some third party applications?