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

runcommand

Description

Type string READ/WRITE

runcommand is a modifiable copy of the command input variable. It specifies the pathname of the program that pmlocald will run.

Example
Setting the runcomand can be a useful way of using a pseudonym for a command that an 
auditor wants to disguise: 
if ( command == "passcmd") 
{ 
   runcommand="/usr/bin/passwd" 
   runargv[0]="passwd"; 
   runargv=replace(runargv,1,length(runargv)); 
}
Related Topics

command

runconfirmuser

Description

Type string READ/WRITE

Set runconfirmuser to a user name to direct pmlocald to request the runuser to authenticate as this user before running the runcommand. If authentication fails, then pmlocald rejects the session.

Example
if ( (user in appl_users) && (command in appl_cmds) ) 
{ 
   runconfirmuser=runuser; 
}
Related Topics

cwd

runcwd

Description

Type string READ/WRITE

runcwd is a modifiable copy of the cwd input variable. Specifies the working directory for pmlocald to use when setting up the runtime environment for the session.

Example
if ( command in appl_cmds) 
{ 
   runcwd = "/home/appl_home"; 
}
Related Topics

cwd

runenv

Description

Type list READ/WRITE

runenv is a modifiable copy of the env input variable. It contains a list of environment variables that pmlocald sets up when initializing the runtime environment for the session.

Example
if ( (command in appl_cmds) && (runhost == "sun8") ) 
{ 
   runenv={"TERM=xterm","PATH=/usr/bin:/usr/local/bin", "HOME=/home/appl_home"}; 
}
Related Topics

env

Related Documents