-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement rule 5.3.3.2.5 Ensure password maximum sequential character…
…s is configured
- Loading branch information
1 parent
dfdd193
commit a7f716b
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
31 changes: 31 additions & 0 deletions
31
...am/password_quality/password_quality_pwquality/accounts_password_pam_maxsequence/rule.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
documentation_complete: true | ||
|
||
|
||
title: 'Ensure password maximum sequential characters is configured' | ||
|
||
description: |- | ||
The <tt>pwquality maxsequence</tt> option sets the maximum length of monotonic character | ||
sequences in the new password. Examples of such sequence are 12345 or fedcb. The | ||
check is disabled if the value is 0. | ||
Note: Most such passwords will not pass the simplicity check unless the sequence is | ||
only a minor part of the password. | ||
rationale: |- | ||
Use of a complex password helps to increase the time and resources required to | ||
compromise the password. Password complexity, or strength, is a measure of the | ||
effectiveness of a password in resisting attempts at guessing and brute-force attacks. | ||
<br /><br /> | ||
Password complexity is one factor of several that determines how long it takes to crack | ||
a password. The more complex the password, the greater the number of possible | ||
combinations that need to be tested before the password is compromised. | ||
severity: medium | ||
|
||
platform: package[pam] | ||
|
||
template: | ||
name: accounts_password | ||
vars: | ||
variable: maxsequence | ||
operation: less than or equal |