docs(user_management): say how the root password lock works in the defaults comment
The comment said usermod -L, but the role replaces the shadow field with "!" and drops the old hash, which usermod -L would keep. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
f290b9f151
commit
a1645040ae
1 file changed
+3
-2
@@ -5,8 +5,9 @@ user_management_install_sudo: true
|
||||
user_management_disable_cloud_init: true
|
||||
user_management_authoritative: true
|
||||
|
||||
# Lock root's password (usermod -L). Off by default: on a Proxmox node root's password is the
|
||||
# web UI and PAM login.
|
||||
# Lock root's password: replace its shadow field with "!", removing the old hash (unlike
|
||||
# usermod -L, which keeps it). Off by default: on a Proxmox node root's password is the web UI
|
||||
# and PAM login.
|
||||
user_management_lock_root_password: false
|
||||
|
||||
# Primary ansible user (ALWAYS managed)
|
||||
|
||||
Reference in new issue
Block a user