clan-core/clanModules/user-password
2024-06-25 21:17:01 +02:00
..
default.nix clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret 2024-06-24 20:08:02 +02:00
README.md ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00

description = "Automatically generates and configures a password for the specified user account."
description = "Automatically generates and configures a password for the specified user account."

If setting the option prompt to true, the user will be prompted to type in their desired password.

!!! Note This module will set mutableUsers to false, meaning you can not manage user passwords through passwd anymore.

After the system was installed/deployed the following command can be used to display the user-password:

clan secrets get {machine_name}-user-password

See also: Facts / Secrets

To regenerate the password, delete the password files in the clan directory and redeploy the machine.