지금 지원 담당자와 채팅
지원 담당자와 채팅

Privilege Manager for Unix 7.3 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix 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 for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

pmshell_forbid

Description

Type list READ/WRITE

pmshell_forbid contains a list of regular expressions loaded on startup by the Privilege Manager for Unix shell programs: pmsh, pmcsh, pmksh, and pmbash. The list may contain regular expressions.

Any command entered by the user during the shell session, that matches one of these expressions, will be forbidden without any further authorization by the pmmasterd, and will not be logged as an event. All shell subcommands are matched with this list before checking the allowed list. By default, the variable contains an empty list.

Example
pmshell_forbid = {"kill","passwd"};
Related Topics

pmshell

pmshell_restricted

pmshell_checkbuiltins

pmshell_cmd

pmshell_prog

pmshell_reject

pmshell_allow

pmshell_restricted

pmshell_readonly

Description

Type list READONLY

pmshell_readonly is only defined if the command is a shell subcommand running from within a Privilege Manager for Unix shell program (pmsh, pmcsh, and pmksh). You can set this variable to a list of environment variables to mark as readonly in the shell. It defaults to an empty list.

Example
if (defined pmshell) 
{ 
   #set some application specific readonly variables for the shell 
   pmshell_readonly={"PATH", "SHELL", "APPL_HOME"}; 
}
Related Topics

pmshell

pmshell_restricted

pmshell_checkbuiltins

pmshell_prog

pmshell_reject

pmshell_allow

pmshell_forbid

pmshell_restricted

pmshell_reject

Description

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".

Example
pmshell_reject = "Your request has been rejected by the shell";
Related Topics

pmshell

pmshell_restricted

pmshell_checkbuiltins

pmshell_cmd

pmshell_prog

pmshell_allow

pmshell_forbid

pmshell_restricted

pmshell_restricted

Description

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:

  • 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, pmksh, and pmbash programs.

Example
if (user != "root") 
{ 
   pmshell_restricted = true; 
}
Related Topics

pmshell

pmshell_checkbuiltins

pmshell_cmd

pmshell_prog

pmshell_reject

pmshell_allow

pmshell_forbid

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택