Creates or updates a server user. If the user already exists, password and permissions are modified. If not exists, a new user is created. In order to create or modify the user, the current system user that is running the console, must have the permissions to write the file $ORIENTDB_HOME/config/orientdb-server-config.xml
. For more information look at OrientDB Server security. Since v 2.2.
SET SERVER USER <user-name> <user-password> <user-permissions>
orientdb> set server user editor fancypassword *
Server user 'editor' set correctly
This is a command of the Orient console. To know all the commands go to Console-Commands.