int remotefileexists ( string hostname, string filename )
The remotefileexists function checks whether a filename exists on the remote system hostname.
Returns true if the file exists; otherwise, it returns false.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
print(remotefileexists(runhost,"/etc/passwd"))
list remotegroupinfo ( string hostname, string groupname )
remotegroupinfo returns the group ID and a list of members of the specified group from the remote host.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
#print the bin group info from the runhost print(remoteuserinfo(runhost,"bin"))
list remotegrouplist ( string hostname )
remotegrouplist returns the full list of group names and the associated group IDs located on the remote host.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
#print the remote groups on runhost print(remotegrouplist(runhost))
list remotesysinfo ( string hostname )
remotesysinfo returns the full uname output from the remote system.
|
NOTE: The remote host must be configured to run either pmmasterd or pmclientd to respond to this function. |
#print the runhost's uname info print(remotesysinfo(runhost))
© 2021 One Identity LLC. ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité