Closed jmazanek closed 6 years ago
How to test:
In one or more of the configuration files in /etc/pam.d/ directory, add the one or more deprecated directives (pam_passwdqc|pam_ecryptfs)
example:
password required pam_passwdqc.so
Run the p-a modules with this fix.
Results should be needs_inspection
if only pam_passwdqc
directive is present, needs_action
if both or only pam_ecryptfs
and pass
otherwise. Configuration files with deprecated directives commented out will be copied into /root/preupgrade/cleanconf/etc/pam.d/
.
Subdirectory should not, to my knowledge appear there. This line in the code should ensure, that inputs are just ordinary files for file in $(find -P /etc/pam.d/ -maxdepth 1 -type f)
qa_ack
: test according to description from @jmazanek
New test case was written for this PR96: preupgrade-assistant-el6toel7/ast/pam-deprecated-directives
Test passed in preupgrade-assistant-el6toel7-0.7.5-0.201807021157Z.PR96.el6_8.noarch -> VERIFIED