Bug 1070 - Enchancement: Integration with GridEngine
Summary: Enchancement: Integration with GridEngine
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.1p1
Hardware: All All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 11:18 AEST by Ron Chen
Modified: 2021-04-23 14:59 AEST (History)
1 user (show)

See Also:


Attachments
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration (1.19 KB, patch)
2005-08-17 11:25 AEST, Ron Chen
no flags Details | Diff
And also header file changes (485 bytes, patch)
2005-08-17 11:43 AEST, Ron Chen
no flags Details | Diff
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration (1.12 KB, patch)
2005-08-17 15:19 AEST, Ron Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Chen 2005-08-17 11:18:12 AEST
GridEngine (SGE) is an opensource batch system used in parallel clusters (Linux
clusters, beowulf, compute farms, and Grid). When interactive users need
machines in the cluster, they need to go through SGE. SGE starts the rsh/rshd
pair so that users process will be tracked. Note that the rsh daemon is not a
vanilla rshd, the one shipped with SGE has hooks allow process relationships.

Then users only want to use SSH, and the following HOWTO was written:
http://gridengine.sunsource.net/howto/qrsh_qlogin_ssh.html

However, in order to get a fully functional SGE-SSH integration, some hooks
needs to be added in sshd (specifically: sshd.c).
Comment 1 Ron Chen 2005-08-17 11:25:39 AEST
Created attachment 948 [details]
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration
Comment 2 Ron Chen 2005-08-17 11:43:17 AEST
Created attachment 949 [details]
And also header file changes
Comment 3 Darren Tucker 2005-08-17 14:29:27 AEST
Comment on attachment 948 [details]
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration

>! #ifdef SGESSH_INTEGRATION
>!         sgessh_do_setusercontext(authctxt->pw);

The code implementing this function appears to be missing.  Or is it supplied
by a library (and if so, which one)?
Comment 4 Ron Chen 2005-08-17 15:19:04 AEST
Created attachment 950 [details]
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration

attached unified diff, and made the function declaration inside the file.

Our build process will call OpenSSH's configure with:
% ./configure --with-libs="-L<path> -lsgessh <other SGE libs>"

The file that has sgessh_readconfig() and sgessh_do_setusercontext()
implemented was post on the SGE mailing list. There's the pointer to the
message:
http://gridengine.sunsource.net/servlets/ReadMsg?list=users&msgNo=9768
Comment 5 Damien Miller 2018-06-01 14:46:43 AEST
We don't plan to integrate this.
Comment 6 Damien Miller 2021-04-23 14:59:54 AEST
closing resolved bugs as of 8.6p1 release