Description
Type string READONLY
groups contains the list all groups in which the user is a member.
Example
# If a user belongs to a particular group, reject the command if ( "restrictedUsers" in groups ) { reject; }
Type string READONLY
groups contains the list all groups in which the user is a member.
# If a user belongs to a particular group, reject the command if ( "restrictedUsers" in groups ) { reject; }
Type string READONLY
host identifies the host name where the user has requested to run the command.
# If the requested host is not in the allowed_hosts list, reject the command allowed_hosts = {“hosta.test.com”, “hostb.test.com”, “hostc.test.com”}; if ( host !in allowed_hosts ) { reject “Commands on host “ + host + “ are not allowed. \n”; }
Type integer READONLY
hour contains the hour the request was submitted (0 – 23).
if (hour == 12) { // require the users password from 12:00 to 12:59 if(!(userpasswd()) reject; } accept;
Type string READONLY
masterhost contains the host name of the host running pmmasterd.
printf("Privilege Manager for Unix is authorizing your request on host: %s\n",masterhost);
accept;
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center