Chatee ahora con Soporte
Chat con el soporte

Privilege Manager for Unix 7.2.2 - 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

printnnl

Syntax
printnnl ( expression expr1 [, expression expr2, ...] )
Description

The printnnl procedure is similar to the print function except that it does not terminate the output with a newline character.

Related Topics

fprintf

print

printf

printvars

printvars

Syntax
printvars( );
Description

The printvars procedure prints all Privilege Manager for Unix variables to the user’s screen. It is useful for debugging configuration file policies.

Related Topics

fprintf

print

printf

printnnl

readdir

Syntax
string readdir ( string path [, string filter] )
Description

readdir reads the contents of the directory identified by path, and returns the list of files as a string. If you supply a filter, it applies a glob-style filter and only returns those files that match the filter in the string. If you do not supply a fully qualified path, it assumes the path is relative to the path identified by the policyDir setting in the pm.settings file.

Example
#find all *.profile files in the profiles directory and include any found 
incfiles=readdir("profiles", "*.profile"); 
incfile_list=split(incfiles); 
for onefile in incfile_list { 
   include onefile; 
} 
Related Topics

keepenv

setenv

unsetenv

readfile

Syntax
string readfile ( string filename )
Description

The readfile function reads the contents of the specified file and returns the contents as a single string. Note that any new lines in the file will be present in the string returned by readfile. If the file does not exist, it rejects the session and produces a syntax error.

Example
#print a welcome msg from a file in /etc/ 
x=readfile("/etc/custom_welcome.txt"); 
print (x); 
Related Topics

input

Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación