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

profile_setenv

Description

Type list READ/WRITE

A list of values specified by the setenv() call. profile_setenv tracks the values set from the latest setenv() function call. Do not modify this variable directly; the setenv() function updates this list.

Example
# setenv "HOME" to "/root" if not already in the list 
if (search(profile_setenv,"HOME=*") == -1) 
   setenv("HOME","/root");

profile_unsetenv

Description

Type list READ/WRITE

A list of values specified by the unsetenv() call. profile_unsetenv tracks the values set from the latest unsetenv() function call. Do not modify this variable directly; the unsetenv() function updates this list.

Example
# unsetenv "HOME" if not already in the list 
if ("HOME" !in profile_unsetenv) 
   unsetenv("HOME");

profile_use_runuser

Description

Type string READ/WRITE

The environment in which the runcommand is executed is normally initialized from the submitting user's environment (that is, the env variable). To direct the pmlocald daemon to initialize the runtime environment using the runuser's environment on the agent instead, set profile_use_runuser to true. The default value is false.

NOTE: profile_use_runuser causes the runuser's dotfiles to execute without an associated tty. The dotfiles (that is, .profile) should test for the existence of a tty (if `tty -s`) before a command is executed that relies on a tty (e.g. "who am i", "tset", "stty").

Example
if (defined pmshell) 
{ 
   profile_use_runuser=true; 
}

rejectmsg

Description

Type string READ/WRITE

rejectmsg contains the message that displays when a request is rejected.

Example
rejectmsg= "You are not permitted to run this command";
Related Documents