Clarifications on Migrating Robot from Non-Root user to Root User on Linux
search cancel

Clarifications on Migrating Robot from Non-Root user to Root User on Linux

book

Article ID: 396844

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We are using the steps on Migrate Existing Robot As A Non-Admin User and need clarification on how to edit  /etc/nimbus.conf and nimbus.service files. 

Environment

DX UIM 23.4.*

Cause

Documentation Deficiency

Resolution

Migrate Robot from Non-Root user to Root User on Linux follow the steps below:


On your Linux server, perform the following steps to migrate the robot running with non-root permission to run as a root user.

Follow these steps:

  1. Stop the nimsoft service.

  2. Change the permission and ownership of the Nimsoft folder to the root user using the following commands

    chown -R root: nimsoft OR chown -R root:root nimsoft
    chmod -R 755 nimsoft

  3. Remove the non-root user details from the /etc/nimbus.conf file

    Eg: Remove any value specified in the key NIMBUS_USR=

    The file can be left as below: 




  4. Change the following settings:

    1. a. Linux: Execute the systemctl status nimbus.service command to see where the service is getting stored and edit the nimbus service file.


          NOTE: Edit the file only if the loaded unit is nimbus.service

      b. Ubuntu/RHEL: Remove the non-root User and group from the nimbus.service file.

    Example: 
    If User and group are populate as below: 

     [Service]
      Type=forking
      Restart=always
      User=Example_user
      Group=Example_group


    Remove only the user and group values. Leave it as: 



     [Service]
      Type=forking
      Restart=always
      User=
      Group=



    c. Debian/SUSE: The service file already contains a script to read the user from /etc/nimbus.conf and run the probes as a specific user.



  5. Reload the Nimbus service using the systemctl daemon-reload command



Additional Information