pam_sge_authorize(8)

pam_sge_authorize8

Pam module to control access to sge hosts

Usage

pam_sge_authorize [options]

Overview

This PAM module limits access via ssh(1) etc. to Grid Engine hosts only to users who currently have a job running on the host. The expectation is that this limits their impact on any other users of the host.

Options

execd_spool_dir=dir

Specify the spool directory in which to find the active_jobs directory as dir/hostname/active_jobs. Default: /opt/sge/default/spool.

bypass_users=user_list

The module ignores access by users with unames in the comma-separated user_list. There is a limit of 30 users. root is always allowed access.

max_sleep=max_sleep

A non-zero max_sleep allows desynchronization of accesses to the spool directory. The module sleeps for a random period t, where 0<=t<=max_sleep microseconds before accessing the spool directory. This probably isn't useful. Default: 0.

debug

Send debugging information to syslog.

Examples

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

account required /opt/sge/lib/lx-amd64/pam_sge_authorize.so \
  bypass_users=foo,bar,baz,qux spool_dir=/opt/sge/execd_spool

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

auth required pam_sge_authorize.so

Releases

Unchanged in 5 releases since Debian 9 (Stretch).

  1. 9–13

Author

TACC. Man page by Dave Love, based on material from Bill Barth, TACC.

From gridengine-exec 8.1.9+dfsg-13.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.