Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Privilege Manager for Unix 6.1.1 - Administration Guide for Unix

One Identity Privileged Access Suite for Unix 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 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

remoteusergroups

Syntax
list remoteusergroups ( string hostname, string username )
Description

remoteusergroups returns a list of groups that the specified user belongs to on the remote system.

The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.

Example
# print root's groups on the runhost 
print(remoteusergroups(runhost,"root")) 

remoteuserinfo

Syntax
list remoteuserinfo ( string hostname, string username )
Description

remoteuserinfo returns user information for the specified user from the remote host.

The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.

Example
#print root's info on the runhost 
print( remoteuserinfo(runhost,"root") ) 

remoteuserlist

Syntax
list remoteuserlist ( string hostname )
Description

remoteuserlist returns the full list of user names on the remote host.

The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.

Example
#print the user list on the runhost 
print(remoteuserlist(runhost)) 

String functions

These are the built-in string functions available to use within the policy file.

Table 44: String functions
Name Description
match Match a string to a pattern
strindex Return the position of a substring in a string
strlen Return the length of a string
strsub Return a substring of a string
subst Substitute part of a string
Return a substring of a string
Documents connexes