Displaying 2 results from an estimated 2 matches for "sshd_remote".
2004 Jun 23
3
[PATCH] make pam service a settable option
This patch adds a config file option 'PAMService' that sets the PAM
service sshd will use. It should leave the current behavior unchanged if
PAMService is not set in the config file (i.e. use __progname for the
service or SSHD_PAM_SERVICE if it's set at compile time). The patch is
against the current portability release in CVS.
Why would you want something like this?
I have a machine
2002 Nov 24
1
[PATCH] PamServiceNameAppend
...the "service_name" parameter of pam_start() for
the second daemon. I had a look in the source and SSHD_PAM_SERVICE is a
constant. I could of course recompile with -DSSHD_PAM_SERVICE=
"ssh_remote" but I would have to have two sets of binaries : One sshd
and another sshd_remote. Not really easy. :-(
Attached is a patch that allows me to do this in the config file by
appending a string to SSHD_PAM_SERVICE at runtime (yes, I'd have liked
to do it at fill_default_server_options time). It just adds another
option : PamServiceNameAppend.
This is my first atte...