user_create
Create a user.
⚙️ Compatible targets: Linux
⚠️ Deprecated: This method is deprecated and should not be used.
Parameters
Name | Documentation |
---|---|
login | User login. This parameter is required. |
description | User description. This parameter is required. |
home | User's home directory. This parameter is required. |
group | User's primary group. This parameter is required. |
shell | User's shell. This parameter is required. |
locked | Is the user locked ? true or false. This parameter is required. |
Outcome conditions
You need to replace ${login}
with its actual canonified value.
- ✅ Ok:
user_create_${login}_ok
- ☑️ Already compliant:
user_create_${login}_kept
- 🟨 Repaired:
user_create_${login}_repaired
- ☑️ Already compliant:
- ❌ Error:
user_create_${login}_error
Example
method: user_create
params:
login: VALUE
group: VALUE
locked: VALUE
description: VALUE
home: VALUE
shell: VALUE
Documentation
This method does not create the user's home directory.