Mailinglist Archive: opensuse (3653 mails)

< Previous Next >
pam_unix.so and pam_unix2.so the same?
  • From: Anand Buddhdev <arb@xxxxxxxxx>
  • Date: Fri, 21 Jun 2002 12:52:03 +0200
  • Message-id: <20020621105203.GI1364@xxxxxxxxx>
I'm running Suse 7.3 sparc. I noticed this message in my /var/log/messages today:

Jun 21 12:45:19 dali PAM-unix2[2191]: auth: Unknown option: shadow

My /etc/pam.d/pop3 is configured as follows:

auth required /lib/security/pam_unix.so shadow nullok
account required /lib/security/pam_unix.so
session required /lib/security/pam_unix.so

According to the documentation, pam_unix.so understands the "shadow" option. However, I also
notice this:

dali:~ # ls -li /lib/security/pam_unix.so /lib/security/pam_unix2.so
892956 -rwxr-xr-x 2 root root 50803 Feb 27 20:05 /lib/security/pam_unix.so
892956 -rwxr-xr-x 2 root root 50803 Feb 27 20:05 /lib/security/pam_unix2.so

So pam_unix and pam_unix2 are the same. I read in the documentation
that pam_unix2 is for handling NIS, and it doesn't know the "shadow"
option. But why have the been linked as one? What if I'm not using NIS?

--
Anand Buddhdev
http://anand.org

< Previous Next >
Follow Ups