Type string READ/WRITE
The pmshell_reject string is displayed by the Privilege Manager for Unix shell programs (pmsh, pmcsh, pmksh, and pmbash) for any shell subcommands rejected because they are listed in pmshell_forbid. The default is "Request Rejected".
pmshell_reject = "Your request has been rejected by the shell";
Type integer READ/WRITE
If pmshell_restricted is set to true, then the Privilege Manager for Unix shell program is run as a restricted shell. This means that the user cannot:
These restrictions are applied without any further authorization by the policy server. The default for this variable is false.
This variable is applicable to the pmsh, pmcsh, pmksh, and pmbash programs.
if (user != "root") { pmshell_restricted = true; }
Type integer READ/WRITE
The clienthost variable normally matches the host name on which the pmrun client was run. To preserve the host name of the login host instead, set the preserve_clienthost variable to true.
print("User has logged in from host:%s\n", clienthost);
Type list READ/WRITE
A list of values specified by the keepenv() call. profile_keepenv tracks the values set from the latest keepenv() function call. Do not modify this variable directly; the keepenv() function updates this list.
# add "HOME" to the keepenv list if not already in the list if ("HOME" !in profile_keepenv) keepenv(append(profile_keepenv,"HOME"));
© 2024 One Identity LLC. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center