HP-UX pam.conf file issue

Issue: Error seen while logging to HP-UX machine as below

System error ERROR: Check /etc/pam.conf file permissions and ownership -r--r--r-- 1 root sys /etc/pam.conf Boot in single-user mode for missing /etc/pam.conf

Solution:
1. Boot the machine in single user mode
2. Mount /usr
3.
Restore the pam.conf file from /usr/newconfig/etc/pam.conf ie
cp /usr/newconfig/etc/pam.conf /etc/pam.conf

No comments: