Description of problem: Upon installation using DISA security profile , it creates two different files instead of creating link in /etc/pam.d/.
Version-Release number of selected component (if applicable): RHEL 7.3
How reproducible: Ever
Steps to Reproduce:
1. Start with normal install.
2.Setup network and hostname
3.Configure Time and Date
4.Select security policy, choose DISA draft stig server with gui's
Software selection, choose server with gui, select Java Platform, KDE, Network Client, Compatibility Libraries, and Security Tools
5.Configure installation destination, configure per DISA requirements, with ext4. Then create mount points.
6.Accept changes and begin installation add root password and create generic admin account .
7.Let system finish installing.
Actual results: It creates 2 different files
[hemant@dhcp4-96 pam.d]$ ls -l
-rw-r--r--. 1 root root 1252 Feb 2 20:19 system-auth
-rw-r--r--. 1 root root 1015 Feb 2 20:17 system-auth-ac
lrwxrwxrwx. 1 root root 14 Feb 7 00:21 system-auth -> system-auth-ac
Need to Debug the DISA security draft.
I am sorry but pam package is not the appropriate component to report bugs against for the DISA security policy settings/installer. This needs to be fixed in the DISA installer - I have no idea which component that is.
Also just FYI - when there are both system-auth and system-auth-ac as regular files then the system-auth is used. The system-auth-ac contents is irrelevant.
This looks like oscap-anaconda-addon. Let's see if they have any input on this issue.
most likely culprit in this case is scap-security-guide, which provides remediation scripts utilized to harden the system.
I have just tried described scenario for RHEL 7.4 installation and links are preserved. So if you don't mind, I will assume it's fixed, thus closing this issue.
If you need it for RHEL 7.3 installation, you can still use datastream from network - use one from scap-security-guide-0.1.33-5.el7
Feel free to reopen if your mileage varies.