25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 38<br />

Authentication<br />

eauth -c<br />

host_name<br />

eauth -s<br />

When a command is invoked, the client program automatically executes<br />

eauth -c host_name to get the external authentication data, where<br />

host_name is the name of the host running the <strong>LSF</strong> daemon (for example,<br />

RES) on which the operation will take place. The external user authentication<br />

data is passed to <strong>LSF</strong> through the standard output of the eauth program.<br />

When the <strong>LSF</strong> daemon receives the request, it executes eauth -s under the<br />

primary <strong>LSF</strong> administrator user ID to process the user authentication data.<br />

If your site cannot run authentication under the primary <strong>LSF</strong> administrator user<br />

ID, configure the parameter <strong>LSF</strong>_EAUTH_USER in the /etc/lsf.sudoers file.<br />

The <strong>LSF</strong> daemon expects eauth -s to write to standard output:<br />

◆ 1 if authentication succeeds<br />

◆ 0 if authentication fails<br />

The same eauth -s process can service multiple authentication requests; if<br />

the process terminates, the <strong>LSF</strong> daemon will re-invoke eauth -s on the next<br />

authentication request.<br />

See the <strong>Platform</strong> <strong>LSF</strong> Reference for information about configuring the<br />

lsf.sudoers file.<br />

Standard input stream for the eauth program<br />

User authentication data is passed to eauth -s via its standard input. The<br />

standard input stream to eauth has the following format:<br />

uid gid user_name client_addr client_port user_auth_data_len<br />

user_auth_data<br />

where:<br />

◆ uid is the user ID in ASCII of the client user<br />

◆ gid is the group ID in ASCII of the client user<br />

◆ user_name is the user name of the client user<br />

◆ client_addr is the host address of the client host in ASCII dot notation<br />

◆ client_port is the port number from where the client request is made<br />

◆ user_auth_data_len is the length of the external authentication data in<br />

ASCII passed from the client<br />

◆ user_auth_data is the external user authentication data passed from the<br />

client<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 495

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!