Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

User Management

When authentication is enabled via the config file, as described in the chapter Configuration File, Tentris requires users to login using their credentials. Administrators can manage the users of a Tentris database using user subcommand is used. The subcommand is inspired by the commonly known useradd and usermod commands of Linux.

Listing all Users

tentris user list

Creating a User

Creating a user with query and update permissions
tentris user add -G query,update admin
Creating a user with query permissions only
tentris user add -G query employee

Note: By default, users are not assigned any groups, which means that they do not have any rights. Their groups need to be specified by providing the option -G with the appropriate groups.

Modifying existing Users

Changing the password of an existing user
tentris user modify employee -p
Adding a Group to an existing User
tentris user modify employee -a -G update

Deleting a User

tentris user delete employee

Detailed Information

For more details for the operations on users, use the --help option.

tentris user modify --help
tentris user add --help
tentris user delete --help