Chat now with support
Chat with Support

Safeguard for Sudo 2.0 - Administrators Guide

One Identity Privileged Access Suite for Unix Introducing Privilege Manager for Unix Introducing Privilege Manager for Sudo Planning Deployment Installation and Configuration
Download Privilege Manager for Unix Software Packages Download Privilege Manager for Sudo Software Packages Quick Start and Evaluation Configure a Primary Policy Server Configure a Secondary Policy Server Install PM Agent or Sudo Plugin on a Remote Host Remove Configurations
Upgrading Privilege Manager System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager Variables Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures Privilege Manager Programs Installation Packages Unsupported Sudo Options Sudo Plugin Policy Evaluation About us



Type string READ/WRITE

The pmshell_reject string is displayed by the Privilege Manager shell programs (pmsh, pmcsh, pmksh) 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 shell program is run as a restricted shell. This means that the user cannot:

  • change directory
  • change the PATH, SHELL, or ENV variables
  • run any command that is not found in the PATH
  • run any command identified by full pathname
  • Overwrite any existing files using output redirection (such as, echo "" > /etc/passwd)

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, and pmksh 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) 
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating