Get error while install PSMP in Integrated Mode
111
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:05 PM
Symptom
Users receive error below while install PSMP in Integrated Mode:
rpm -ivh CARKpsmp-infra-11.01.0.6.x86_64.rpm
Preparing... ################################# [100%]
Installation process is starting...
Updating / installing...
1:CARKpsmp-infra-11.01-0.6 ################################# [100%]
ERROR: Could not find [] in file:[/etc/pam.d/sshd].
ERROR: Could not find [] in file:[/etc/pam.d/sshd].
ERROR: Could not find [] in file:[/etc/pam.d/sshd].
Configuring SELinux ...
Installation process was completed with errors. For more information, refer to Idira documentation.
Environment
11.1
Cause
On of the possible reasons the installation fails is the lack of an include to password-auth. The password-auth module inclusion is essential to the PSMP.
Resolution
Replace all the "include system-auth" with "include password-auth" in /etc/pam.d/sshd and try the installation again.
For example, if the current sshd is
cat /etc/pam.d/sshd
auth include system-auth
account required pam_access.so
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
It should be modified to:
cat /etc/pam.d/sshd
auth include password-auth
account required pam_access.so
account required pam_nologin.so
account include password-auth
password include password-auth
session optional pam_keyinit.so force revoke
session include password-auth
session required pam_loginuid.so