proftpd+pam

Mário Sérgio Candian mscandian at freebsdbrasil.com.br
Thu Feb 23 08:41:51 PST 2006


Hello guys,

I have a FreeBSD 5.4-STABLE box. I installed from the ports the proftpd 
(proftpd-1.3.0.r3) and I have some problems with autentication. In the 
/var/log/messages file I have this:

Feb 23 13:37:31 brhp_ftp01 proftpd: in openpam_read_chain(): 
/etc/pam.d/ftpd(22): invalid facility 'ftp' (ignored)
Feb 23 13:37:31 brhp_ftp01 proftpd
Feb 23 13:37:31 brhp_ftp01 in free():
Feb 23 13:37:31 brhp_ftp01 error:
Feb 23 13:37:31 brhp_ftp01 chunk is already free
Feb 23 13:37:51 brhp_ftp01 kernel: pid 45157 (proftpd), uid 0: exited on 
signal 6

In the /etc/pam.d/ftpd (22) I have this:

*ftp             auth    required    pam_unix.so         
try_first_pass   -> line 22*
ftp             account required    pam_unix.so         try_first_pass
ftp             session required    pam_permit.so

In the proftpd.conf I had it:

AuthPAM   yes
AuthPAMConfig   ftp

Is this FreeBSD version doesnt support pam session? Do I something 
wrong? Any idea?

Thanks for all.

-- 
Mario Sergio Candian
-
"Dreams as if you'll live forever. Live as if you'll die today" -- James Dean



More information about the freebsd-questions mailing list