"APPAP309E Script run using untrusted shell" when PATH restrictions are turned on
123
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:01 PM
Symptom
I am receiving this error when trying to run a script,
APPAP309E Script run using untrusted shell
Environment
v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;9.9.5 PAS
AAM
Cause
My script won't run because its not trusted and PATH restrictions are turned on.
Resolution
Take a look at the logs located in /var/opt/CARKaim/logs.
Within the logs, find where it states,
Process filename [<path>] is invalid
Add the <path> you found to the TrustedCLIShells parameter located in 'main_appprovider.conf.linux.9.XX' where 9.XX is the version you are using.
The config file is located in the AppProviderConf safe. Make sure you edit the file in the vault, not the local copy on the machine as the local copy is retrieved from the vault and will be overridden.
Restart or refresh the provider.
Additional Information
Details
SYMPTOM:
I am receiving this error when trying to run a script,
APPAP309E Script run using untrusted shell
My script won't run because its not trusted and PATH restrictions are turned on.
SOLUTION:
Take a look at the logs located in /var/opt/CARKaim/logs.
Within the logs, find where it states,
Process filename [<path>] is invalid
Add the <path> you found to the TrustedCLIShells parameter located in 'main_appprovider.conf.linux.9.XX' where 9.XX is the version you are using.
The config file is located in the AppProviderConf safe. Make sure you edit the file in the vault, not the local copy on the machine as the local copy is retrieved from the vault and will be overridden.
Restart or refresh the provider.