[PATCH] Tell PAM about remote host earlier

Damien Miller djm at mindrot.org
Sun Feb 11 22:35:40 EST 2001


On Sat, 10 Feb 2001, Andrew Bartlett wrote:

> I was browsing the OpenSSH sources (which are very readable,
> thankyou very much) and noticed that PAM was only being told what
> host the user is logging in from for account processing - not for
> password processing.  As I can see no reason not to put this in
> start_pam this is exactly what I have done - and attached a patch to
> this effect.
>
> This allows PAM to fill in rhost= in its audit messages (pam_unix),
> and may in fact be used in some module, somewhere.

Applied - thanks.

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list