Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] [RHEL/7] Rewrite RHEL-7 remediation for 'smartcard_auth' rule #1388

Merged

Conversation

iankko
Copy link

@iankko iankko commented Aug 10, 2016

Since per downstream bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1357019

we can't use 'authconfig' binary direct call, because it will discard the changes as performed and required by other remediation scripts also touching /etc/pam.d/system-auth{,-ac} files

Therefore return to previous version updating necessary files directly via 'sed' tool (rather than using 'authconfig' binary)

Note: While on the rule also update XCCDF link providing further info how to setup smartcard auth (since the current one returns HTTP 404 Not Found)

Testing result:
The change has been tested on RHEL-7 local system and seems to be working properly (AFAICT).

Please review.

Thank you, Jan.

rule since per downstream bug:
  https://bugzilla.redhat.com/show_bug.cgi?id=1357019

we can't use 'authconfig' binary direct call, because it will
discard the changes as performed and required by other remediation
scripts also touching /etc/pam.d/system-auth{,-ac} file

Therefore return to previous version updating necessary files
directly via 'sed' tool (rather than using 'authconfig' binary)

Note: While on the rule also update XCCDF link providing further
info how to setup smartcard auth (since the current one returns
HTTP 404 Not Found)
@iankko iankko added bugfix Fixes to reported bugs. BLOCKER Impediments to release, like failure to build content, or content built is out of standard's syntax RHEL Red Hat Enterprise Linux product related. labels Aug 10, 2016
@iankko iankko added this to the 0.1.31 milestone Aug 10, 2016
@mpreisler mpreisler self-assigned this Aug 11, 2016
@mpreisler
Copy link
Member

ACK

@mpreisler mpreisler merged commit 8592964 into ComplianceAsCode:master Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLOCKER Impediments to release, like failure to build content, or content built is out of standard's syntax bugfix Fixes to reported bugs. RHEL Red Hat Enterprise Linux product related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants