[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

OpenSSH does not seem to use PAM



Hi there

Seems I have trouble to get OpenSSH to use PAM...

I compiled the most recent version using
./configure --with-pam --with-md5-passwords

My /etc/pam.d/sshd (on Debian) reads
#%PAM-1.0
auth       required     /lib/security/pam_unix.so shadow nodelay debug
auth       required     /lib/security/pam_nologin.so debug
account    required     /lib/security/pam_unix.so debug
password   required     /lib/security/pam_cracklib.so debug
password   required     /lib/security/pam_unix.so shadow nullok use_authtok
debug
session    required     /lib/security/pam_unix.so debug
session    required     /lib/security/pam_limits.so debug
session    required   pam_chroot.so debug

The items in sshd_conf read
Protocol 2
UseLogin no
UsePrivilegeSeparation no
Subsystem       sftp    /usr/local/libexec/sftp-server
AllowTcpForwarding no

ldd /usr/local/sbin/sshd gives
libpam.so.0 => /lib/libpam.so.0 (0x29e93000)
libdl.so.2 => /lib/libdl.so.2 (0x29e9b000)
libutil.so.1 => /lib/libutil.so.1 (0x29e9f000)
libz.so.1 => /usr/lib/libz.so.1 (0x29ea2000)
libnsl.so.1 => /lib/libnsl.so.1 (0x29eb0000)
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x29ec4000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x29f84000)
libc.so.6 => /lib/libc.so.6 (0x29fb1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x29e7d000)

However, I find no PAM relevant entries in my auth.log (on Debian), and the
settings in OpenSSH's PAM file do not seem to work, too.

Could it be that my OpenSSH does not use PAM? Compiliation went okay,
and ./configure told me PAM would be used... :-(

Thanks
Florian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]