Patch so that sshd makes use of PAM_USER

Ben Lindstrom mouring at etoh.eviladmin.org
Sat Aug 31 03:46:57 EST 2002


Two things off hand.

1. Your repeating the code over and over.  Make it a function call.

2. Look at openbsd's 'style' page.  As it sits now it would not be
accepted because it does not follow the correct code format.


also, one needs to check to see if this is honored by Solaris/hpux or if
this is a Linux oddity.

- Ben

On Fri, 30 Aug 2002, Jeremy Ellington wrote:

>  <<pam_user.patch>>
> Hello.  I created a patch that causes sshd  to take notice of the value of PAM_USER after calling into the pam_xxx functions.  This makes it possible for a PAM module to effect user mappings by setting the value of PAM_USER with pam_set_item().  If anyone has comments or suggestions, let me know.
>
> Thanks,
> Jeremy
>




More information about the openssh-unix-dev mailing list