Executing Nexus CM as Service User

It is recommended to execute the CM services as a separate non-root service user. This can be configured by performing the following steps:

  1. Make sure that the CM services are stopped.

  2. Create a user (e.g., useradd cmuser).

  3. Create the service user owner of the directory <install_root>. This can be done, for example, by executing the following command: chown -R cmuser:cmuser /opt/cm/server/

  4. Update the <install_root>/bin/*_launch.conf files, so they specify the line with the "SERVICEUSER" for example: SERVICEUSER=cmuser