To add and set the SM_AUTHORITY environment variable in the runcmd_env.sh file in the BASEDIR/smarts/local/conf directory:

  1. Use sm_edit to open the runcmd_env.sh file.

    sm_edit conf/runcmd_env.sh
    
  2. Add the environment variable and its value by using the following syntax:

     SM_AUTHORITY="<STD>"
    
  3. Save the runcmd_env.sh file and close it.

    Any program started after this point will use the applicable environment variables specified in the runcmd_env.sh file. programs that are already running need to be restarted for any new environment variable to take effect.