[PATCH] make pam service a settable option

Ben Lindstrom mouring at etoh.eviladmin.org
Thu Jun 24 00:19:45 EST 2004



On Wed, 23 Jun 2004, Jeff Layton wrote:

> On Wed, 2004-06-23 at 09:31, Flavien Lebarbe wrote:
> > > This patch adds a config file option 'PAMService' that sets the PAM
> > > service sshd will use.
> >
> > You don't need that option.
> >
> > ln -s sshd /usr/sbin/sshd_remote
> >
> > sshd will identify itself as _progname, which will be "sshd_remote".
> >
>
> This won't work if you're using a version where SSHD_PAM_SERVICE is
> defined at compile-time. I think it worthy of being able to set at

Then don't set it at compile-time.=)  Why make things more complex than
they need to be?  The compile-time option is there for those who want
the service name to be the same no matter what the binary is called.

- Ben




More information about the openssh-unix-dev mailing list