/usr/local/etc/pam.d/vm-pop3d on FreeBSD

andyl

Verified User
Joined
Jul 12, 2004
Messages
23
Location
Seattle, WA
Something I just discovered and fixed:

Seeing errors like this in your /var/log/maillog on FreeBSD?

Code:
Sep 27 00:02:52 h01 vm-pop3d[81780]: Connect from [url]www.xxx.yyy.zzz[/url]
Sep 27 00:02:52 h01 vm-pop3d[81780]: in openpam_load_module(): no /lib/security/
pam_pwdb.so found
Sep 27 00:02:52 h01 vm-pop3d[81780]: Quitting on signal: 11

More importantly, are non-virtual pop users unable to log in? (That is, users who are in /etc/passwd, not in /etc/virtual/.)

If so, on FreeBSD, change /usr/local/etc/pam.d/vm-pop3d to read:

Code:
#%PAM-1.0
auth       required     /usr/lib/pam_unix.so
account    required     /usr/lib/pam_unix.so

(vm-pop3d installs the file with what looks like paths to Linux PAM libraries.)

Andy
 
I am not seeing this but I recompiled mine which is probably why, I wonder if the DA distribution of the binary was compiled on a linux box.
 
I am not seeing this but I recompiled mine which is probably why, I wonder if the DA distribution of the binary was compiled on a linux box.

Hmm - when I built from source (da_vm-pop3d-1.1.7f), earlier today, it looked like the paths in /usr/local/etc/pam.d were hard-coded in the source file...

Andy
 
Back
Top