Chat now with support
Chat with 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

ingroup

Syntax
int ingroup ( string user, string group )
Description

ingroup returns true if the specified user is in the specified UNIX group on the policy server; otherwise returns false.

Example
if (ingroup("cory", "admin") ) { 
   accept; 
}
Related Topics

innetgroup

innetgroup

Syntax
int innetgroup ( string netgroup, string host )
Description

innetgroup returns true if the specified host is in the specified NIS netgroup on the policy server; otherwise returns false.

Example
if ( ! innetgroup("submithosts", submithost)) { 
   reject "You are not permitted to submit a command from this host"; 
}

innetuser

Syntax
int innetuser (string netgroup, string user)
Description

innetuser returns true if the specified user is in the specified NIS netgroup on the policy server; otherwise returns false.

Example
if ( ! innetuser("submitusers", user)) { 
   reject "You are not permitted to submit a command from this host"; 
}
Related Topics

innetgroup

lineno

Syntax
int lineno( )
Description

lineno returns the current line number in the policy file.

Example
printf("TRACE: user:%s, cmd:%s, lineno:%d\n", user, command, lineno()); 
Related Documents