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

join

Syntax
string join( list X [, string delimiter] )
Description

join returns a string constructed by concatenating each element of list X. Each element of the string is separated by delimiter. The default delimiter is a space character.

Example
trustedusers={"jamie", "cory", "robyn"}; 
print(join(trustedusers, "\n")); 

Prints the following string:

jamie 
cory 
robyn
Related Topics

append

insert

length

Syntax
int length( list|string X )
Description

length returns the number of elements in the specified list or the number of characters in the specified string.

Example
trustedusers={"jamie", "cory", "robyn"}; 
print(length(trustedusers)); 

lsubst

Syntax
string lsubst( list X, string pattern, string replacement )
Description

lsubst substitutes part of a string with another string throughout all or a specified part of a list X.

Example
print(lsubst({"xxxonexxx","xxxonexxx"},"one","two")); 

#prints the following list 
#"{xxxtwoxxx,xxxtwoxxx}" 

range

Syntax
list range( list X, int begin, int end )
Description

The range function returns a subset of the elements from list X. The subset of elements in the range specified by begin and end. Any value for end greater than the length of the list is the same as end.

Example
trustedusers={"jamie", "cory", "robyn"}; 
a=range(trustedusers, 1, 2); 

The value of a is set to: {"cory", "robyn"}

Related Documents