Files
clan-core/clanModules/user-password
hsjobeki 341f444fa0 revert bd3861c580
revert Merge pull request 'Remove clanModules/*' (#4202) from remove-modules into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202

See: https://git.clan.lol/clan/clan-core/issues/4365

Not all modules are migrated.
If they are not migrated, we need to write migration docs and please display the link to the migration docs
2025-07-15 17:51:36 +00:00
..
2025-07-15 17:51:36 +00:00
2025-07-15 17:51:36 +00:00
2025-07-15 17:51:36 +00:00

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

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