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

accounts_no_uid_except_zero: Don't run passwd if awk returns nothing #7779

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

Mab879
Copy link
Member

@Mab879 Mab879 commented Oct 21, 2021

Description:

Adds --no-run-if-empty so that you don't a usage error if passing.

Rationale:

Fixes #7457

@Mab879 Mab879 added the Bash Bash remediation update. label Oct 21, 2021
@vojtapolasek vojtapolasek self-assigned this Nov 9, 2021
Copy link
Collaborator

@vojtapolasek vojtapolasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@vojtapolasek vojtapolasek merged commit d9bef5e into ComplianceAsCode:master Nov 9, 2021
@yuumasato yuumasato added this to the 0.1.59 milestone Nov 10, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bash Bash remediation update.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accounts_no_uid_except_zero bash remediation reports error if no match
3 participants