Before you use anything here

This library is not associated with the ACSC, NIST, or any other authority, and nothing in it is accredited, endorsed or approved by one. Control catalogues are mirrored unmodified under their own licences; that is a copy, not an endorsement of anything here.

What a component definition offers is a community-contributed approach to a control, with the instructions and the recipe. Whether it holds in your environment depends on things this library cannot see — what precedes it, what overrides it, what your image resets. Adopting one is your assessment to make, and your authority's to accept.

Each component carries an assurance state its author declared. That is the author's claim, not the library's finding.

Debian 13 pam_pwquality Enforcement Base Component Definition

debian-13-pwquality-base · version 1.0.0 · OSCAL 1.1.2

technically-tested published

Documentcomponent-definition.json
sha256 2dcfc2f5bade14fc9151df0907abb8f13d90c8806427ebb5b6059da20aee4bdb
Identityhttps://library.oscalops.net/component-definitions/327f09ef-96c6-54e6-aad8-9d305442ebfe/1e82351b-8b87-455e-8ed1-a8f0d7e41ef8/1.0.0/component-definition.json
Sourcehttps://github.com/dmblack/oscal_component-definition_debian-passphrase-hardening.git at 85d9681d323d20210966c1a330836b4c2637ea18
VersionsAll 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.

PropertyValueVocabulary
os-codenametrixiehttps://ns.oscalops.net/component-definitions
os-distributiondebianhttps://ns.oscalops.net/component-definitions
os-release13https://ns.oscalops.net/component-definitions
publisherlibrary_component-definition contributorshttps://ns.oscalops.net/component-definitions
settingpam-auth-update:pwqualityhttps://ns.oscalops.net/component-definitions
settingpwquality:enforce_for_roothttps://ns.oscalops.net/component-definitions
settingpwquality:enforcinghttps://ns.oscalops.net/component-definitions
settingpwquality:local_users_onlyhttps://ns.oscalops.net/component-definitions
settingpwquality:retryhttps://ns.oscalops.net/component-definitions
baseline-gapstock Debian 13 enforces a 6-character floor via pam_unixhttps://ns.oscalops.net/component-definitions/debian-13-pwquality-base
packagelibpam-pwqualityhttps://ns.oscalops.net/component-definitions/debian-13-pwquality-base
package-version1.4.5-5https://ns.oscalops.net/component-definitions/debian-13-pwquality-base
pam-stack-priority1024 (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-distributiondebian
os-release13
os-codenametrixie
settingpam-auth-update:pwquality
settingpwquality:enforcing
settingpwquality:enforce_for_root
settingpwquality:local_users_only
settingpwquality:retry
packagelibpam-pwquality
package-version1.4.5-5
pam-stack-priority1024 (ahead of pam_unix at 256)
baseline-gapstock 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.

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

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

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.

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.

StatementStatusDescription
(b)implementedpam_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)implementedNo 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)implementedlibpwquality-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

Files

ResourceFileSHA-256
pwquality enforcement baseconfig/pwquality.conf.d/40-ism-base.conf12441639cb0cfea4b0e7df729d5b39877ce73b79e5e47ee3be3c376f1da1825d
Apply scriptscripts/apply-pwquality-base.sh75238d3d21b6e9d4466331d1da2cd9a0d5dab1cc20060e6fa00c18de5883ab44
Verification scriptscripts/verify-pwquality-base.sh0b54efd7ea49a3addc5d3eb5f4630102e05dca614372e038b8a5d8fb2e67147a

External references