Debian 13 pam_pwquality Enforcement Base Component Definition
debian-13-pwquality-base · version 1.0.0 · OSCAL 1.1.2
technically-tested published
| Document | component-definition.jsonsha256 2dcfc2f5bade14fc9151df0907abb8f13d90c8806427ebb5b6059da20aee4bdb |
|---|---|
| Identity | https://library.oscalops.net/component-definitions/327f09ef-96c6-54e6-aad8-9d305442ebfe/1e82351b-8b87-455e-8ed1-a8f0d7e41ef8/1.0.0/component-definition.json |
| Source | https://github.com/dmblack/oscal_component-definition_debian-passphrase-hardening.git at 85d9681d323d20210966c1a330836b4c2637ea18 |
| Versions | All versions of debian-13-pwquality-base |
From the author
Theoretical component. It describes a configuration that satisfies the named controls when applied; it is not an assertion that any particular system is running it. An SSP leveraging this component must supply the implementation evidence for its own hosts.
Assurance state is 'technically-tested': the configuration was applied to a clean Debian 13 install and verified end to end.
Declared by this document
What the contributor says this component applies to and touches. These are the contributor's own statements in their own vocabulary, not the library's, and the library does not check them beyond what OSCAL requires of a property.
| Property | Value | Vocabulary |
|---|---|---|
| os-codename | trixie | https://ns.oscalops.net/component-definitions |
| os-distribution | debian | https://ns.oscalops.net/component-definitions |
| os-release | 13 | https://ns.oscalops.net/component-definitions |
| publisher | library_component-definition contributors | https://ns.oscalops.net/component-definitions |
| setting | pam-auth-update:pwquality | https://ns.oscalops.net/component-definitions |
| setting | pwquality:enforce_for_root | https://ns.oscalops.net/component-definitions |
| setting | pwquality:enforcing | https://ns.oscalops.net/component-definitions |
| setting | pwquality:local_users_only | https://ns.oscalops.net/component-definitions |
| setting | pwquality:retry | https://ns.oscalops.net/component-definitions |
| baseline-gap | stock Debian 13 enforces a 6-character floor via pam_unix | https://ns.oscalops.net/component-definitions/debian-13-pwquality-base |
| package | libpam-pwquality | https://ns.oscalops.net/component-definitions/debian-13-pwquality-base |
| package-version | 1.4.5-5 | https://ns.oscalops.net/component-definitions/debian-13-pwquality-base |
| pam-stack-priority | 1024 (ahead of pam_unix at 256) | https://ns.oscalops.net/component-definitions/debian-13-pwquality-base |
Debian 13 pam_pwquality enforcement base
pam_pwquality installed on Debian 13 (trixie), stacked ahead of pam_unix, and set to reject rather than warn. It imposes no password rule of its own: each rule is a component that owns its own settings and depends on this one.
A default-settings Debian 13 install has no pam_pwquality at all, so the effective floor is pam_unix's built-in 6 characters, and /etc/security/pwquality.conf ships entirely commented out.
Two controls are satisfied by omission here, because pam_pwquality imposes neither limit: no maximum length below 64 characters, and no character-set restriction.
Purpose. Provide the enforcement point every ISM password rule for Debian depends on, and evidence for the IA-5(1) elements that follow from it.
Properties
| os-distribution | debian |
|---|---|
| os-release | 13 |
| os-codename | trixie |
| setting | pam-auth-update:pwquality |
| setting | pwquality:enforcing |
| setting | pwquality:enforce_for_root |
| setting | pwquality:local_users_only |
| setting | pwquality:retry |
| package | libpam-pwquality |
| package-version | 1.4.5-5 |
| pam-stack-priority | 1024 (ahead of pam_unix at 256) |
| baseline-gap | stock Debian 13 enforces a 6-character floor via pam_unix |
Australian Cyber Security Centre: Information Security Manual v2026.09.4
ISM controls satisfied by pam_pwquality imposing no limit, as published in the ACSC ISM OSCAL catalogue release v2026.09.4.
| Control | Status | Applicability | Summary |
|---|---|---|---|
| ISM-2079 | implemented | NC, OS, P, S, TS | Implemented by omission. Neither pam_pwquality nor any drop-in in this family configures a maximum length, and pam_unix uses yescrypt, which does not truncate.… |
| ISM-2081 | implemented | NC, OS, P, S, TS | Implemented by omission. No character-set restriction is configured, and yescrypt accepts the full ASCII printable range including the space character. |
ISM-2079 — Password strength
Implemented by omission. Neither pam_pwquality nor any drop-in in this family configures a maximum length, and pam_unix uses yescrypt, which does not truncate. The effective ceiling is the PAM response buffer, far above the 64-character floor this control requires.
Verified: a 72-character passphrase is accepted by pwscore(1).
Configuration and scripts
- config/pwquality.conf.d/40-ism-base.conf pwquality enforcement base
sha256 12441639cb0cfea4b0e7df729d5b39877ce73b79e5e47ee3be3c376f1da1825d - scripts/verify-pwquality-base.sh Verification script
sha256 0b54efd7ea49a3addc5d3eb5f4630102e05dca614372e038b8a5d8fb2e67147a
ISM-2081 — Password strength
Implemented by omission. No character-set restriction is configured, and yescrypt accepts the full ASCII printable range including the space character.
Verified: a candidate interleaving every ASCII printable punctuation character with letters is accepted by pwscore(1). The punctuation set is interleaved because the unbroken set is itself a monotonic codepoint run, which a maxsequence rule correctly rejects.
Configuration and scripts
- config/pwquality.conf.d/40-ism-base.conf pwquality enforcement base
sha256 12441639cb0cfea4b0e7df729d5b39877ce73b79e5e47ee3be3c376f1da1825d - scripts/verify-pwquality-base.sh Verification script
sha256 0b54efd7ea49a3addc5d3eb5f4630102e05dca614372e038b8a5d8fb2e67147a
NIST: SP 800-53 Revision 5 v1.4.0
SP 800-53 Rev 5 elements that follow from the enforcement point itself, from oscal-content release v1.4.0.
| Control | Status | Applicability | Summary |
|---|---|---|---|
| IA-5(1) | partial | — | This component claims the IA-5(1) elements that follow from pam_pwquality being installed and enforcing: every password change is checked, long passphrases and… |
IA-5(1) — Password-based Authentication
This component claims the IA-5(1) elements that follow from pam_pwquality being installed and enforcing: every password change is checked, long passphrases and the full printable character set are accepted, and password tooling is available. The content rules themselves are claimed by the rule components that own them.
| Statement | Status | Description |
|---|---|---|
| (b) | implemented | pam_pwquality runs as 'requisite' in the password stack, so every password creation and change is checked against the dictionary before pam_unix is reached. |
| (f) | implemented | No maximum length and no character-set restriction are configured, and yescrypt does not truncate. Long passphrases including spaces and the full ASCII printable range are accepted. Verified at 72 characters and across the ASCII printable… |
| (g) | implemented | libpwquality-tools provides pwmake(1), which generates high-entropy candidates, and pwscore(1), which scores a candidate against the live policy. Both are installed by the apply script. |
Configuration and scripts
- scripts/verify-pwquality-base.sh Verification script
sha256 0b54efd7ea49a3addc5d3eb5f4630102e05dca614372e038b8a5d8fb2e67147a
Files
| Resource | File | SHA-256 |
|---|---|---|
| pwquality enforcement base | config/pwquality.conf.d/40-ism-base.conf | 12441639cb0cfea4b0e7df729d5b39877ce73b79e5e47ee3be3c376f1da1825d |
| Apply script | scripts/apply-pwquality-base.sh | 75238d3d21b6e9d4466331d1da2cd9a0d5dab1cc20060e6fa00c18de5883ab44 |
| Verification script | scripts/verify-pwquality-base.sh | 0b54efd7ea49a3addc5d3eb5f4630102e05dca614372e038b8a5d8fb2e67147a |
External references
- ACSC ISM OSCAL catalogue v2026.09.4: https://raw.githubusercontent.com/AustralianCyberSecurityCentre/ism-oscal/v2026.09.4/ISM_catalog.json
- NIST SP 800-53 Rev 5 catalogue (oscal-content v1.4.0): https://raw.githubusercontent.com/usnistgov/oscal-content/v1.4.0/nist.gov/SP800-53/rev5/json/NIST_SP-800-53_rev5_catalog.json