Setting up SDC as non-root user
search cancel

Setting up SDC as non-root user

book

Article ID: 188338

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Steps on setting up the SDC on Linux as non-root user.

Resolution

 

  • Log in as a root user and create /opt/SPECTRUM folder.
  • Change the ownership of the '/opt/SPECTRUM' folder to 'sdmc install user' and 'sdmc install group’. If folder does not exist, then create the folder and change the ownership
  • Verify if the '/opt/CA/SharedComponents' folder exists, then change the ownership of this folder to 'sdmc install user' and 'sdmc install group'. If folder does not exist, then create the folder and change the ownership.
  • Example: chown <user>: <group> /opt/CA/SharedComponents
  • In case the CAPKI is present in the '/opt/CA/SharedComponents' folder, then change the ownership of the folder recursively to 'sdmc install user' and 'sdmc install group'.
  • Example: chown -R <user>: <group> /opt/CA/SharedComponents
  • Ensure that the SDMC installation directory has write permission. Either provide the write access to parent directory or create install folder with ownership as 'sdmc install user' and 'sdmc install group’.
  • Example: If the install directory is '/opt/CA/SDMConnector', change the ownership of the folder to 'sdmc install user' and 'sdmc install group'. If the '/opt/CA/SDMConnector' directory does not exist, then create the folder and change the ownership of the directory.                                                     chown <user>: <group> /opt/CA/SDMConnector
  • Install SDC as non-root user
  • Run the following script, which is available in the $SDMCROOT/bin folder:
    • sdmc_post_install.sh as root user

 

NOTE for 21.2.1 and higher the script is called sdmc_nonroot_prepost_install.sh

Additional Information

Link to the docs