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:
username
password
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 users
add user
remove user
update user
passwd
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, required
Example:
update user¶
The command is used to modify user data. Parameters:
-a | --active
- user status, true or falseusername
- user name, required
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