Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
How to change the USER variable to runas user in pmrun
설명
By default when a command is run with pmrun, the USER shell variable is kept as the original user who run the command instead of the user who the command is being run as. Is there a way to change this behaviour?
해결 방안
In order to change the USER variable to return the runas username the following line may be added to the fn_log_and_accept_custom function in your profile_customer_policy.conf file: setenv("USER", runuser);