On Mon, Dec 13, 1999 at 08:16:13AM -0900, Ethan Benson wrote: > On 14/12/99 [EMAIL PROTECTED] 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 \ ` [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] ' `---=========------=======-------------=-=-----=-===-======-------=--=---'