user_locked
Ensure the user is locked. User must already exist.
⚙️ Compatible targets: Linux
Parameters
Name | Documentation |
---|---|
login | User's login. This parameter is required. |
Example
method: user_locked
params:
login: VALUE
Documentation
This method does not create the user. Note that locked accounts will be marked with "!" in /etc/shadow, which is equivalent to "*". To unlock a user, apply a user_password method.