commandsuser add

Add/create a new user.

Usage

user add name[|password[|role/s]] [description]

where
name of user to add.
password of user. If not defined the user is locked.
If password is in the format file:filename, then the password will be read from filename.
If filename is in the format name.yaml, then the password will be value of the name key within the YAML formatted file.
If filename is .env or starts with .env., then password will be the value of the the name key within the environment variable file.
role/s comma separated list of roles to add to user, optional.
description of user, optional.

 

  • admin on /_beyondcron/users if changing another users password.
  • write on /_beyondcron/password/file for file passwords.

this command is disabled when a user service is enabled.

Examples

Create a user

BeyondCron % user add jsmith
BeyondCron % user list jsmith

User Description ------ ----------- jsmith

Create a user with a description

BeyondCron % user add bsmyth William Smyth
BeyondCron % user list bsmith

User Description ------ ------------- bsmyth William Smyth

See also