Bug 1070

Summary: Enchancement: Integration with GridEngine
Product: Portable OpenSSH Reporter: Ron Chen <ron_chen_123>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WONTFIX    
Severity: enhancement CC: djm
Priority: P2    
Version: 4.1p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration
none
And also header file changes
none
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration none

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