After an in-place upgrade files under /etc/pam.d/ are empty
Issue
-
After an in-place upgrade logging in to the machine was not possible anymore, and the content of /etc/pam.d was showing several empty files, similar to the following:
[...] -rw-r--r--. 1 0 Apr 8 06:16 password-auth-local -rwxr-xr-x. 1 609 Nov 12 23:23 password-auth-local.preupg [...] -rw-r--r--. 1 0 Apr 8 06:16 system-auth-ac -rwxr-xr-x. 1 1.3K Apr 8 21:24 system-auth-ac.preupg -rw-r--r--. 1 0 Apr 8 06:16 system-auth-local -rwxr-xr-x. 1 614 Nov 12 23:23 system-auth-local.preupg [...]
-
The original files were saved with .preupg extension
Environment
- Red Hat Enterprise Linux (RHEL) 6
- preupgrade-assistant-el6toel7 (version < 0.7.7-1)
- pam_passwdqc.so is in use
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.