/
Man Page for pbs_iff

Man Page for pbs_iff

Supplies a credential that is used for authentication.

Description

Called from the pbs_connect() IFL API to authenticate a connection with the PBS server.  Designed to be called internally by PBS commands and components, to be used by our IFL layer to talk to the server.  Can be run by any user.

It's a setuid root binary so it runs as the user who requests a connection to a server but it becomes root so that it can grab a privileged port.

Usage

/opt/pbs/sbin/pbs_iff [-t] <daemon host> <daemon port> <parent socket> <parent port>

/opt/pbs/sbin/pbs_iff --version

Options to pbs_iff

-t

Test mode; means tell me whether I can authenticate.

--version

Reports version and exits; can only be used alone.

Arguments to pbs_iff

host, port

Remote host and remote port

parent socket, parent port

The socket and port that they want pbs_iff to vouch for when it connects to the server.

Exit Status

Zero

If it was able to contact the server and extract a promise that the server will henceforth accept commands from the port and socket fd that you asked to vouch for (as long as they come from this host )

Non-zero

Otherwise (in practice 1, but not sure that's guaranteed).










OSS Site Map

Developer Guide Pages



Related content

PP-660: Add support to PBS init script to act on any PBS daemon individually
PP-660: Add support to PBS init script to act on any PBS daemon individually
More like this
Allow multiple auth methods in PBSPro
Allow multiple auth methods in PBSPro
More like this
PTL Features for Testing PBS
PTL Features for Testing PBS
More like this
Setting Up PTL the First Time
Setting Up PTL the First Time
More like this
Using Docker to Instantiate PBS
Using Docker to Instantiate PBS
More like this
PP-475:PP-476: pbs_audit, A tool to detect and fix permissions problems preventing PBS Professional from functioning properly/optimally
PP-475:PP-476: pbs_audit, A tool to detect and fix permissions problems preventing PBS Professional from functioning properly/optimally
More like this