From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 16:41:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E334416A420 for ; Thu, 23 Feb 2006 16:41:50 +0000 (GMT) (envelope-from mscandian@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 88B7543D49 for ; Thu, 23 Feb 2006 16:41:46 +0000 (GMT) (envelope-from mscandian@freebsdbrasil.com.br) Received: (qmail 70263 invoked by uid 0); 23 Feb 2006 13:41:34 -0300 Received: from mscandian@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(201.17.164.146):. Processed in 0.499573 secs); 23 Feb 2006 16:41:34 -0000 Received: from unknown (HELO ?10.69.69.3?) (201.17.164.146) by capeta.freebsdbrasil.com.br with SMTP; 23 Feb 2006 13:41:33 -0300 Message-ID: <43FDF3D0.30001@freebsdbrasil.com.br> Date: Thu, 23 Feb 2006 14:41:36 -0300 From: =?ISO-8859-1?Q?M=E1rio_S=E9rgio_Candian?= User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050811) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: proftpd+pam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 16:41:51 -0000 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