DOKK / manpages / debian 10 / gridengine-exec / pam_sge-qrsh-setup.8.en
pam_sge-qrsh-setup(8) System Manager's Manual pam_sge-qrsh-setup(8)

pam_sge-qrsh-setup - PAM module for tight integration with Grid Engine

pam_sge-qrsh-setup

This PAM module provides tight integration of SSH communication into Grid Engine when ssh(1) is used with qrsh etc. It may also work with other communication methods that run daemons which use PAM. See remote_communication(5). It provides to the spawned processes the group id from $SGE_ROOT/default/spool/hostname/active_jobs/job_id/addgrpid and the environment from $SGE_ROOT/default/spool/hostname/active_jobs/job_id/environment.

It assumes the use of a wrapper for rshd. A suitable one is distributed as util/resources/wrappers/rshd-wrapper under the Grid Engine root directory.

The module has no options.

On a typical GNU/Linux system, add the following line to /etc/pam.d/sshd, e.g. at the top of the file.


auth required /opt/sge/lib/lx-amd64/pam_sge-qrsh-setup.so

On some systems it might be necessary to copy pam_sge-qrsh-setup.so into, say, /lib/security and instead use it as


auth required pam_sge-qrsh-setup.so

/var/run/sge-qrsh-setup
$SGE_ROOT/util/resources/wrappers/rshd-wrapper

ssh(1), remote_communication(5), pam(7), pam.conf(4).

Andreas Haupt, man page by Dave Love.

2010-11-25