Re: Openssh 1.2pre17-1 broken?
On Mon, Dec 13, 1999 at 08:16:13AM -0900, Ethan Benson wrote:
> On 14/12/99 hservoma@wis02.ec.t.kanazawa-u.ac.jp wrote:
>
> >This is interesting, where did you read about /etc/pam.d/ssh -> sshd ?
>
> normally a pam service will look for a file with the name name as the
> binary, so sshd will load pam.d/sshd, this can be overridden in the
> service program by changing the call to PAM_INIT (or someting like
> that) the debian maintainer does this himself as he wishes to keep
> the pam file called ssh not sshd.
>
No, it uses the first arg of the pam_start() function in the source.
Usually this is the name of the service, and most programs use the same
name that would be found it /etc/services for their program. In the case
of sshd it should be "ssh".
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org - collinbm@djj.state.va.us - bmc@visi.net '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: