Creating Additional Domain Administrator Accounts

Use NuoDB Manager to add domain administrator accounts. The procedure for adding the first domain administrator is described in Creating the First Domain Administrator Account. After you add the first domain administrator account, follow the steps here to add additional administrator accounts.

NuoDB Manager requires a running broker to connect to. If a broker is not already running, see Starting and Stopping NuoDB Services.

To add a domain administrator account:

  1. Start NuoDB Manager and specify the username and password for an administrator account you previously created. For example:

    $ nuodbmgr --broker host:port --user AdminName1 --password AdminPw1
    NuoDB host version: 2.6: Professional Edition
    nuodb [domain] >
    
  2. Enter the create domain administrator command and respond to the prompts. For example, you might specify AdminName2 and AdminPw2:

    nuodb [domain] > create domain administrator 
    User name: AdminName2 
    Password: AdminPw2
    nuodb [domain] > exit
    
  3. Consider verifying the new account by using the new domain credentials to connect to NuoDB Manager:

    $ nuodbmgr --broker host:port --user AdminName2 --password AdminPw2
    NuoDB host version: 2.6: Professional Edition
    nuodb [domain] >
    

You can now use the new domain administrator credentials to sign in to all management client tools including the Automation Console and calls to the REST API. If you forget the username and/or password for a domain administrator account, there is no user interface to recover it. You would need to create a new domain administrator account. If you forget only the password, you can remove a domain administrator account by entering the username of the account when you execute the NuoDB Manager command remove domain administrator admin_username.

To change the password for a domain administrator account, invoke the NuoDB Manager create domain administrator command, specify the existing administrator account name and specify a new password. For example:


nuodbmgr --broker host --user AdminName2 --password AdminPw2
NuoDB host version: 2.6: Professional Edition
nuodb [domain] > create domain administrator 
User name: AdminName2 
Password: AdminPw3
nuodb [domain] > exit
nuodbmgr --broker host --user AdminName2 --password AdminPw3
NuoDB host version: 2.6: Professional Edition
nuodb [domain] > 

For details about using NuoDB Manager, see NuoDB Manager.