[Bug 123] New: ssh linked with libpam

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Feb 21 09:11:24 EST 2002


           Summary: ssh linked with libpam
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ssh
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: peak at argo.troja.mff.cuni.cz

When you run configure with --with-pam, all programs, including ssh and other
client progs, are linked with libpam. This is pointless because only sshd needs
PAM, and it can become a real (albeit minor) problem if libpam is linked
dynamically because the resulting binaries will not work without libpam.so.N
even if they do not use it. My autoconf wizardry level is not high enough to
provide a real patch but I suppose one should add a special AC_SUBST for libpam,
change the action of AC_CHECK_LIB(pam, pam_set_item, , ...) to modify this
special variable (rather than LIBS) and add this subst to sshd's rule in

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-unix-dev mailing list