Manage Users
The default authentication used by mojito relies on the database
l10n.security.authenticationType=DATABASE
User information is stored in database and all the authentication process is handle by the server. Managing users is done via the CLI.
Alternatively, LDAP can be used.
Bootstraping
mojito initially is set up with one default user admin/ChangeMe
.
You can override the default user settings. These values are only respected on initial bootstrapping.
l10n.bootstrap.defaultUser.username=admin
l10n.bootstrap.defaultUser.password=ChangeMe
Add new user
mojito user-create
--username ${USERNAME}
--surname ${SURNAME}
--given-name ${GIVEN_NAME}
--common-name ${COMMON_NAME}
Enter password when promted.
Update password
mojito user-update --username ${USERNAME} --password
Enter password when promted.
Delete user
mojito user-delete --username ${USERNAME}