Files
clan-core/clanModules/user-password
pinpox 39a8374dee migrate clanmodules/{user,root}-password to clanServices/users
Move the functionality of both modules into a new clanService.
root-password was previously just a special case of user-password. This
migrates it into a deduplicated clan service and adds checks
2025-06-12 09:04:26 +02: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