Bug 123 - ssh linked with libpam
Summary: ssh linked with libpam
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 minor
Assignee: Tim Rice
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-21 09:11 AEDT by Pavel Kankovsky
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Kankovsky 2002-02-21 09:11:21 AEDT
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
Makefile.in.
Comment 1 Tim Rice 2002-02-26 16:58:03 AEDT
I've addressed this bug (and several others) in modifications i'm in
the process of testing now. If all my machines build OK I'll commit in
the morning.
Comment 2 Tim Rice 2002-03-09 04:37:00 AEDT
Fixed 26 Feb 2002
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED