Skip to content

docs: make password lock explicit in users-groups example 3#6869

Open
0xdeadd wants to merge 1 commit intocanonical:mainfrom
0xdeadd:docs/example3-lock-passwd
Open

docs: make password lock explicit in users-groups example 3#6869
0xdeadd wants to merge 1 commit intocanonical:mainfrom
0xdeadd:docs/example3-lock-passwd

Conversation

@0xdeadd
Copy link
Copy Markdown

@0xdeadd 0xdeadd commented May 6, 2026

Proposed Commits

  • 1 commit: add lock_passwd: true to doc/module-docs/cc_users_groups/example3.yaml

Additional Context

Follow-up to #6865 (closed in favor of #6858). The merged #6858 fixed the discrepancy between data.yaml and the example by adding ssh_import_id to example3.yaml, but the description still claims "Password-based login is rejected" without lock_passwd: true appearing in the YAML.

lock_passwd: true is the default, so this is purely a documentation clarity change — readers comparing the example to the prose will now see all three claims (password rejection, SSH import, custom shell) reflected in the YAML.

Suggested by @neitsab in #6865 (comment).

Test Steps

N/A — documentation example only. ReadTheDocs build verifies rendering.

Merge Type

  • Squash merge

The example3 description states 'Password-based login is rejected',
but the YAML did not actually set lock_passwd. While true is the
default, adding it explicitly removes the documentation gap that
arose during review of canonical#6865 / canonical#6858.

Suggested by @neitsab in canonical#6865 (comment)
@github-actions github-actions Bot added the documentation This Pull Request changes documentation label May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation This Pull Request changes documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant