pam_sge-qrsh-setup(8)

πŸ’– pam_sge-qrsh-setup πŸ’–

okay bestie, gather round, because we're talking about pam_sge-qrsh-setup, a lil PAM module that lives in section 8 of the System Manager's Manual and whose entire personality is "make SSH and Grid Engine be besties". she's giving quiet overachiever. she has no options. she needs no options. she simply works. 🫢


✨ NAME ✨

pam_sge-qrsh-setup β€” the PAM module for tight integration with Grid Engine. that's it, that's the whole name, no notes. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pam_sge-qrsh-setup

literally just the module name. no flags, no args, no drama. she arrives, she does her job, she leaves. main character energy fr fr. πŸ‘‘


🌸 DESCRIPTION 🌸

so here's the tea: this PAM module provides tight integration of SSH communication into Grid Engine for when ssh(1) gets used with qrsh etc. and honestly? it may also work with other communication methods that run daemons which use PAM β€” see remote_communication(5) for the deets, iykyk.

what does she actually hand over to the spawned processes? two very important lil gifts 🎁:

  • the group id, straight out of $SGE_ROOT/default/spool/hostname/active_jobs/job_id/addgrpid
  • the environment, straight out of $SGE_ROOT/default/spool/hostname/active_jobs/job_id/environment

she's a giver. she's an icon. she's a legend. and she is the moment. πŸ’–

also, important: she assumes the use of a wrapper for rshd. a suitable one ships as util/resources/wrappers/rshd-wrapper under the Grid Engine root directory. so like, don't show up without it, bestie. πŸ™ˆ


πŸŽ€ OPTIONS πŸŽ€

the module has no options.

that's right. zero. none. nada. she said "I don't need customization, I need results". ✨


🌈 EXAMPLE 🌈

on a typical GNU/Linux system, you just add the following line to /etc/pam.d/sshd β€” like, at the top of the file, she likes to go first:

        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

and that's it, that's the whole setup. slay. πŸ”₯


πŸ’œ FILES πŸ’œ

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

🧚 SEE ALSO 🧚

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

go read those too, bestie, knowledge is free and it's so cute on you. πŸ“šβœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Andreas Haupt, man page by Dave Love.


okay so that's the whole page!! this came from the System Manager's Manual, dated 2010-11-25, and yes, the footer says pam_sge-qrsh-setup(8) because that's her full name and she deserves to be addressed properly. no cap. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά