[PATCH] make pam service a settable option

Flavien Lebarbe flavien at lebarbe.net
Wed Jun 23 23:31:35 EST 2004


> 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".

PS: I already submited such a patch some time  ago,  and  another
person the same one some time  later.  I  suggest  it  should  be
documented. Documentation could state something around the  lines
of :
    The PAM service name used by  sshd  to  identify  itself,  is
    derived from the name of the program. It is possible to start
    sshd through a link that is named differently,  so  that  the
    PAM service name is different (for example to have  different
    PAM policies for different instances of sshd running  on  the
    same machine).


Flavien.




More information about the openssh-unix-dev mailing list