Use drop-ins file in /etc/login.defs.d/#14438
Draft
teacup-on-rockingchair wants to merge 7 commits intoComplianceAsCode:masterfrom
Draft
Use drop-ins file in /etc/login.defs.d/#14438teacup-on-rockingchair wants to merge 7 commits intoComplianceAsCode:masterfrom
teacup-on-rockingchair wants to merge 7 commits intoComplianceAsCode:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
svet-se
approved these changes
Mar 9, 2026
…config file if not present in /etc
… file if not present in /etc
Macro allows to check both dropin file in conf.d subdir or file directly in /etc
139bb2c to
785f08f
Compare
|
This datastream diff is auto generated by the check Click here to see the full diffbash remediation for rule 'xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs' differs.
--- xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs
+++ xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs
@@ -2,6 +2,7 @@
if rpm --quiet -q kernel-core && { rpm --quiet -q shadow-utils; }; then
var_accounts_password_warn_age_login_defs=''
+
# Strip any search characters in the key arg so that the key can be replaced without
# adding any search characters to the config file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Rationale: