While executing commands to use a pmshell the runusers .files in their home directory are not being executed and environment variables are missing.
The following policy code can go into the default policy file '/etc/opt/quest/qpm4u/pm.conf'. It can also be adapted with other pmshells (pmsh and pmcsh) to force the reading of the runuser's dotfiles when running the pmshell from the command, for example "pmrun pmksh" or "pmksh".
if (basename (command) == "pmksh") {
runcommand="/opt/quest/bin/pmksh";
runargv [0]=sprintf("-%s",runcommand);
}
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center