Files
clan-core/clanModules/user-password
Johannes Kirschbauer 88f7b3410e Docs: unify 'manual' with 'guides' folder
This is one of the final steps towards strictly following
https://diataxis.fr/
2025-05-18 20:40:40 +02:00
..
2025-04-09 19:44:00 +02:00

description = "Automatically generates and configures a password for the specified user account." categories = ["System"] features = ["inventory"]

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 vars get [machine_name] root-password/root-password

See also: Vars

To regenerate the password run:

clan vars generate --regenerate [machine_name] --generator user-password