Users management¶
Users¶
Initially, logging in to the CLI and the web admin interface is available for the administrator only. The administrator can manage all parameters himself or add other users and give them appropriate permissions to perform these operations.
A user has the following fields:
usernamepassword
A user can own applications created in the system. Also, a user has the active flag. With this flag, ability of that user to connect to the console can be put on hold if necessary.
Managing users is done using the commands
show usersadd userremove userupdate userpasswd
SeeĀ Complete list of CLI commands.
show users¶
The command is used to show existing users. Parameters:
-d | --detail- enable detailed output-a | --active- show only active users
Example:
add user¶
The command is used to add a user to the system. Parameters:
username- the new name of the user, requiredpassword- the password of the user, requiredauthorities- the user authorities comma separated list, required (since build 5.3.503)
Example:
add user alice passw0rd_for_alice
add user bob bobs_password
add user user1 secret SETTINGS,LOGS,SAMPLES
update user¶
The command is used to modify user data. Parameters:
-a | --active- user status, true or falseusername- user name, required-u | --authorities- user authorities comma separated list (since build 5.3.503)
Example:
passwd¶
Used to change the password. Parameters:
username- the user name you want to change the password, optional parameter
Example:
remove user¶
Used to remove a user from the system. An application owner cannot be removed. Parameter:
username- the name of the user to remove, required
Example:
Examples¶
Add a new user¶
Adding the user bob
Deactivate user¶
User data remain intact after deactivation, but the user cannot log in to the system