user_create

Create a user.

⚙️ Compatible targets: Linux

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

NameDocumentation
loginUser login.

This parameter is required.
descriptionUser description.

This parameter is required.
homeUser's home directory.

This parameter is required.
groupUser's primary group.

This parameter is required.
shellUser's shell.

This parameter is required.
lockedIs the user locked ? true or false.

This parameter is required.

Example

method: user_create
params:
  home: VALUE
  group: VALUE
  login: VALUE
  shell: VALUE
  locked: VALUE
  description: VALUE

Documentation

This method does not create the user's home directory.