[PATCH] make pam service a settable option

Darren Tucker dtucker at zip.com.au
Wed Jun 23 23:27:27 EST 2004


Jeff Layton wrote:
> 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.

It's unlikely to be accepted, we try to keep the differences between 
OpenBSD's OpenSSH and Portable to a minimum.  This includes 
Portable-specific options.

Also, it's unnecessary.  To use different PAM stacks/services with the 
same PAM-enabled binary, all you need to do is "ln -s sshd othersshd".

[...]
> One final note -- C programming is not my forte, so please look at this
> critically and let me know if anything should be changed. If you accept
> this for inclusion, I'll make the manpage updates as well.

FWIW the patch itself seems reasonably well done.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list