user_password_hash

Ensure a user's password. Password must respect $id$salt$hashed format as used in the UNIX /etc/shadow file.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
loginUser login.

This parameter is required.
passwordUser hashed password.

This parameter is required.

Example

method: user_password_hash
params:
  login: VALUE
  password: VALUE

Documentation

User must exists, password must be pre-hashed. Does not handle empty password accounts. See UNIX /etc/shadow format. entry example: $1$jp5rCMS4$mhvf4utonDubW5M00z0Ow0

An empty password will lead to an error and be notified.