mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
pwpolicy_account_lockout_enforce should check if value is less than or equal #240
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmahlman on GitHub.
Originally assigned to: @robertgendler on GitHub.
Problem to solve
When setting
pwpolicy_account_lockout_enforcethe check should accept if the number is less than the number passed.Intended users
Anyone using the
pwpolicy_account_lockout_enforcecontrol.Further details
This may be an edge case but some orgs have a maximum number of attempts but may also request some devices to have less than the maximum due to the device being in a less secure location. The wording to the rule actually specifically states:
So this change is in line with the verbiage.
Proposal
Code the if statement in the the pwpolicy_account_lockout_enforce block from
==to-leTesting
Making this change manually and verified working.
@robertgendler commented on GitHub:
The branch dev_mont_pwpolicy should have these changes.