Syntax
list remotegroupinfo ( string hostname, string groupname )
Description
remotegroupinfo returns the group ID and a list of members of the specified group from the remote host.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print the bin group info from the runhost
print(remoteuserinfo(runhost,"bin"))
Syntax
list remotegrouplist ( string hostname )
Description
remotegrouplist returns the full list of group names and the associated group IDs located on the remote host.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print the remote groups on runhost
print(remotegrouplist(runhost))
Syntax
list remotesysinfo ( string hostname )
Description
remotesysinfo returns the full uname output from the remote system.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print the runhost's uname info
print(remotesysinfo(runhost))
Syntax
list remoteusergroups ( string hostname, string username )
Description
remoteusergroups returns a list of groups that the specified user belongs to on the remote system.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
# print root's groups on the runhost
print(remoteusergroups(runhost,"root"))