On Tue, Apr 09, 2002 at 01:47:07PM +0200, Rogier Maas wrote:
Hi all,
I have this weird problem with proftpd and pam. Here is what happens:
[snip]
/etc/pam.conf Apr 9 13:39:44 myhost proftpd[553]: PAM pam_start: failed to initialize handlers Apr 9 13:39:44 myhost proftpd[553]: myhost (localhost[127.0.0.1]) - PAM(exit): Critical error - immediate abort. Apr 9 13:39:44 myhost proftpd[553]: PAM pam_end: NULL pam handle passed
And then these last few lines in my syslog. What do they mean?
It appears that proftpd is looking for /etc/pam.conf which should not be happening on a default SuSE 7.3 install. The PAM configuration can be stored either in /etc/pam.conf or in separate files, one for each service, in /etc/pam.d/, which is the way SuSE is initially set up. If the /etc/pam.d directory exists, PAM should use the separate files there and ignore /etc/pam.conf even if it exists.
For proftpd, the relevant file is /etc/pam.d/proftpd. Do you have this file on your system? Yes I do:
#%PAM-1.0 auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed auth required /lib/security/pam_unix.so auth required /lib/security/pam_shells.so account required /lib/security/pam_unix.so session required /lib/security/pam_unix.so none # debug or trace
Did you install proftpd from the SuSE rpm? Yes I did..
I have no idea what these lines mean. What is 'item=', what does 'sense=' do, what is done with the 'file=' parameter, etc.. All files mentioned here (in /lib/security) exist. I recently reinstalled pam and proftpd to see if that would work, but it doesn't.. Rogier Maas