On Tue, 6 Nov 2001, Tim Dijkstra wrote:
> I'm trying to set up authentication. I'm basicly following C039 (after
> finding out that I can't use pam to look in the /etc/shadow file). This
Why is this? I have exim authenticating against /etc/shadow --
# ls -l /etc/shadow
-rw------- 1 root root 1969 Nov 5 17:31 /etc/shadow
from /etc/exim/exim.conf:
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if pam{$1:$2}{1}{0}}"
server_set_id = $1
# ls -l /etc/pam.d/exim
-rw-r--r-- 1 root root 271 Nov 3 11:53 /etc/pam.d/exim
# cat /etc/pam.d/exim
#%PAM-1.0
auth required /lib/security/pam_unix.so
auth required /lib/security/pam_tally.sofile=/var/log/faillog onerr=succeed no_magic_root
account required /lib/security/pam_tally.so deny=0 file=/var/log/faillog onerr=succeed
account required /lib/security/pam_unix.so
The exim configuration is already in Debian's default configuration file,
all I had to do was uncomment it, and the PAM setup I found somewhere out
in the archives (not sure if it was Exim archives or Debain though).
Chris