Description
Type string READONLY
The user's sAMAccountName for the submit user if Authentication Services is configured and the client is able to determine the sAMAccountName. Otherwise this variable is set to an empty string.
Example
# reject if the user is not in the uxwheel AD group
if (vas_user_is_member(samaccount, "uxwheel", domainname) == false)
reject "user is not in uxwheel group";
Description
Type boolean READONLY
selinux detects whether the client running pmrun or sudo is within an SELinux environment.
If SELinux is enabled on the client or policy host machine, it is True. If disabled, it is False.
Description
Type integer READONLY
status contains the exit status of the most recent command run by the system function.
Example
Cprofile=system("find /home/custom_appl -name customprofile.txt");
if (status == 0)
{
welcome_msg=readfile(Cprofile);
print(welcome_msg);
}
Description
Type string READONLY
submithost contains the name of the host where the request was submitted.
Example
if ( submithost == "sun.34.com" )
{
reject;
}