From e0988f5e61f133cecb9c6af5d29acf14b763a897 Mon Sep 17 00:00:00 2001 From: 0xdeadd Date: Wed, 6 May 2026 10:17:19 -0400 Subject: [PATCH] docs: make password lock explicit in users-groups example 3 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 #6865 / #6858. Suggested by @neitsab in https://github.com/canonical/cloud-init/pull/6865#issuecomment-4388874772 --- doc/module-docs/cc_users_groups/example3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/module-docs/cc_users_groups/example3.yaml b/doc/module-docs/cc_users_groups/example3.yaml index d9b178ae934..49ef8108d63 100644 --- a/doc/module-docs/cc_users_groups/example3.yaml +++ b/doc/module-docs/cc_users_groups/example3.yaml @@ -1,5 +1,6 @@ #cloud-config users: - name: newsuper + lock_passwd: true ssh_import_id: [ gh:TheRealFalcon, lp:falcojr ] shell: /bin/bash