Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 20:07:46 -0400
From:      Dan Eischen <eischen@vigrid.com>
To:        current@freebsd.org
Subject:   PAM broke?
Message-ID:  <3CBB6B52.7054042A@vigrid.com>

next in thread | raw e-mail | index | archive | help
Fresh cvsup and buildworld from today's -current seems to have
broken pam logins for telnet and ssh.  Fresh mergemaster too.

Apr 15 19:59:14 rigel telnetd[285]: in openpam_load_module(): no pam_unix.so found 
Apr 15 19:59:14 rigel telnetd[285]: in openpam_load_module(): no pam_unix.so found 
Apr 15 19:59:14 rigel telnetd[285]: pam_start: failed to load module
Apr 15 19:59:17 rigel telnetd[285]: in openpam_load_module(): no pam_unix.so found 
Apr 15 19:59:17 rigel telnetd[285]: in openpam_load_module(): no pam_unix.so found 
Apr 15 19:59:17 rigel telnetd[285]: pam_start: failed to load module
Apr 15 19:59:27 rigel sshd[287]: in openpam_load_module(): no pam_unix.so found 
Apr 15 19:59:27 rigel sshd[287]: in openpam_load_module(): no pam_unix.so found 
Apr 15 19:59:27 rigel sshd[287]: fatal: PAM initialisation failed[1]: failed to load module

--------------

# No pamd.conf
bash-2.02$ cat /etc/pamd.conf 
cat: /etc/pamd.conf: No such file or directory

--------------

bash-2.02$ cat /etc/pam.d/sshd
#
# $FreeBSD: src/etc/pam.d/sshd,v 1.4 2002/04/15 02:46:24 des Exp $
#
# PAM configuration for the "sshd" service
#

# auth
auth            required        pam_nologin.so  no_warn
auth            required        pam_unix.so     no_warn try_first_pass

# account
account         required        pam_login_access.so
account         required        pam_unix.so

# session
session         required        pam_lastlog.so
session         required        pam_permit.so

# password
password        required        pam_permit.so

--------------

bash-2.02$ cat /etc/pam.d/telnetd
#
# $FreeBSD: src/etc/pam.d/telnetd,v 1.2 2001/12/05 21:26:00 des Exp $
#
# PAM configuration for the "telnetd" service
#

# auth
auth            required        pam_nologin.so  no_warn
auth            required        pam_unix.so     no_warn try_first_pass

# account
account         required        pam_unix.so

--------------

bash-2.02$ ls -l /usr/lib/pam*.so.2
-r--r--r--  1 root  wheel   3180 Apr 15 19:14 /usr/lib/pam_deny.so.2
-r--r--r--  1 root  wheel   5260 Apr 15 19:14 /usr/lib/pam_ftp.so.2
-r--r--r--  1 root  wheel   4840 Apr 15 19:14 /usr/lib/pam_lastlog.so.2
-r--r--r--  1 root  wheel   6684 Apr 15 19:14 /usr/lib/pam_login_access.so.2
-r--r--r--  1 root  wheel   4436 Apr 15 19:14 /usr/lib/pam_nologin.so.2
-r--r--r--  1 root  wheel   4700 Apr 15 19:14 /usr/lib/pam_opie.so.2
-r--r--r--  1 root  wheel   3852 Apr 15 19:14 /usr/lib/pam_opieaccess.so.2
-r--r--r--  1 root  wheel  39436 Apr 15 19:14 /usr/lib/pam_passwdqc.so.2
-r--r--r--  1 root  wheel   3164 Apr 15 19:14 /usr/lib/pam_permit.so.2
-r--r--r--  1 root  wheel   7432 Apr 15 19:14 /usr/lib/pam_radius.so.2
-r--r--r--  1 root  wheel   3552 Apr 15 19:14 /usr/lib/pam_rhosts.so.2
-r--r--r--  1 root  wheel   3408 Apr 15 19:14 /usr/lib/pam_rootok.so.2
-r--r--r--  1 root  wheel   3940 Apr 15 19:14 /usr/lib/pam_securetty.so.2
-r--r--r--  1 root  wheel   3668 Apr 15 19:14 /usr/lib/pam_self.so.2
-r--r--r--  1 root  wheel   9812 Apr 15 19:14 /usr/lib/pam_ssh.so.2
-r--r--r--  1 root  wheel   7276 Apr 15 19:14 /usr/lib/pam_tacplus.so.2
-r--r--r--  1 root  wheel  14972 Apr 15 19:14 /usr/lib/pam_unix.so.2
-r--r--r--  1 root  wheel   5052 Apr 15 19:14 /usr/lib/pam_wheel.so.2

Any clues?

-- 
Dan Eischen

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CBB6B52.7054042A>