Page 1 of 1

SUSE 12 sp3 pam_unix(su:auth): auth could not identify passw

Posted: Thu Jan 04, 2018 8:55 am
by harald.nordas
Hi !
Installed Nagios Core on Suse 12 sp3, but get this error :
pam_unix(su:auth): auth could not identify password for [nagios]
FAILED SU (to nagios) nagios on none
nagios01i nagios[26228]: Starting nagios:Password: su: Authentication information cannot be recovered

Same problem with ver 4.3.4 and ver 3.5.1
/etc/pam.d
su
#%PAM-1.0
auth sufficient pam_rootok.so
auth include common-auth
account sufficient pam_rootok.so
account include common-account
password include common-password
session include common-session
session optional pam_xauth.so

sudo
#%PAM-1.0
auth include common-auth
account include common-account
password include common-password
session include common-session
# session optional pam_xauth.so

Restarted machine, same error

Re: SUSE 12 sp3 pam_unix(su:auth): auth could not identify p

Posted: Thu Jan 04, 2018 1:11 pm
by npolovenko
Hello, @harald.nordas.
What tutorial did you use to install Nagios Core? I always recommend this one:
https://support.nagios.com/kb/article/n ... .html#SUSE
Have you ran all of the follwoing commands?

Code: Select all

sudo /usr/sbin/useradd nagios
sudo /usr/sbin/groupadd nagios
sudo /usr/sbin/usermod -a -G nagios nagios
sudo /usr/sbin/usermod -a -G nagios wwwrun
Also, at what point did you get these errors? Any errors during the installation? Are you still able to access the web interface?