Ensure password dictionary check is enabled
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-ubuntu1804-v220-4-5-1-7 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis Ubuntu1804 V220 4 5 1 7?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-ubuntu1804-v220-4-5-1-7)More formats (shields.io, HTML) on the badges page.
---
name: cis-ubuntu1804-v220-4-5-1-7
description: "Ensure password dictionary check is enabled"
category: cis-iam
version: "2.2.0"
author: cyberstrike-official
tags: [cis, ubuntu, linux, ubuntu-18.04, users, password-policy]
cis_id: "4.5.1.7"
cis_benchmark: "CIS Ubuntu Linux 18.04 LTS Benchmark v2.2.0"
tech_stack: [ubuntu, linux]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# CIS Ubuntu Linux 18.04 LTS Benchmark v2.2.0 - Control 4.5.1.7
## Profile Applicability
- Level 1 - Server
- Level 1 - Workstation
## Description
The `pwquality` `dictcheck` option sets whether to check for the words from the `cracklib` dictionary.
## Rationale
If the operating system allows the user to select passwords based on dictionary words, this increases the chances of password compromise by increasing the opportunity for successful guesses, and brute-force attacks.
## Audit Procedure
### Command Line
Run the following command to verify that the `dictcheck` option in `/etc/security/pwquality.conf` is not set to `0`:
```bash
grep -Pi -- '^\h*dictcheck\h*=\h*0\b' /etc/security/pwquality.conf
```
### Expected Result
Nothing should be returned.
## Remediation
### Command Line
Edit or add the following line in `/etc/security/pwquality.conf` to a value of `1`:
```
dictcheck = 1
```
## Default Value
dictcheck = 1
## References
1. NIST SP 800-53 Rev. 5: IA-5
## CIS Controls
v8 - 5.2 Use Unique Passwords - Use unique passwords for all enterprise assets.
v7 - 4.4 Use Unique Passwords.
## Profile Applicability
- Level 1 - Server
- Level 1 - Workstation
## Assessment Status
Automated
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!