PSMP showing 'Password:' prompt.
Symptom
When attempting to connect through PSMP users are faced with a 'Password:' prompt and not receiving the expected 'Vault user:' prompt. This will occur when the PSMP service is not running which can be caused by connectivity issues to the vault.
In this scenario the PSMP service is active and running and there is connectivity to the vault.
Environment
14.0;14.2 Privileged Access Manager (PAM, self-hosted) PSMP PSMP Networking & Connectivity
Cause
In '/etc/pam.d/sshd' file there are entries for both:
auth include system-auth
auth include psmp-auth
For PSMP operation it is imperative the 'auth include psmp-auth' appears before 'auth include system-auth'. On affected systems it maybe found this order is incorrect (as above).
Resolution
Reverse the order of the entries so they appear in '/etc/pam.d/sshd' as follows:
auth include psmp-auth
auth include system-auth
.....save the changes and restart the PSMP service. This ensures the PSMP connection string is handled by the correct module.
Note, on some systems the 'sshd' file may be managed (e.g. Puppet, Ansible), in which case it will be necessary to work with the Linux team to ensure it gets updated as any manual changes are likely to be reverted.