To add and set the SM_AUTHORITY environment variable in the runcmd_env.sh file in the BASEDIR/smarts/local/conf directory:
Use sm_edit to open the runcmd_env.sh file.
Add the environment variable and its value by using the following syntax:
Save the runcmd_env.sh file and close it.
Any SDK program started after this point will use the applicable environment variables specified in the runcmd_env.sh file. SDK programs that are already running need to be restarted for any new environment variable to take effect.