Centralizing the admin user

Centralizing the admin user

By default, every Engine has its own administrator account. You can change the admin account settings from the Finder by clicking the sprocket icon in the header of the main window and selecting Account settings....

If you have a multi-Engine setup, all the admin accounts of the different Engines can be centralized in the Portal into a single admin user account (note that the method also works for setups with one Engine only). To synchronize all the admin accounts of the Engines connected to a Portal:

  1. Log in to the Appliance hosting the Portal.
  2. Edit the general configuration file of the Portal:
    sudo vi /var/nexthink/portal/conf/portal-general-config.xml
  3. Add the following line to the configuration file inside the user section:
    <user>
    <synchronizeAdmin>true</synchronizeAdmin>
    </user>
  4. Save the configuration and exit the vi editor:
    :wq
  5. Restart the Portal:
    sudo service nxportal restart

All the synchronized admin accounts share the same password, email and time zone specified in the Portal. Beware that this is a one-way process. Once finished, the old settings of the admin accounts in the Engines are lost. Moreover, when the admin user is centralized, you cannot change its accounts settings from the Finder.