From owner-freebsd-questions@FreeBSD.ORG Sun Nov 11 12:24:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790BB16A417 for ; Sun, 11 Nov 2007 12:24:53 +0000 (UTC) (envelope-from taglio@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 54E5413C4CA for ; Sun, 11 Nov 2007 12:24:53 +0000 (UTC) (envelope-from taglio@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so834068rvb for ; Sun, 11 Nov 2007 04:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=rzn93fQENHVjfiv/QsLPoO8EC6lbi+PHMD5sTQzM7FI=; b=GDr/NvZ19C6aDVGgZxOqRavHil5ACiOctynivTdx40tfkjH2j2YmYrAig2ema/OX0EoOhzUAaFDEeyDoJLGngHpV2BpkS2WQ/f2SR6PCndQBm41ksjpQ3Gzq8lJUfHS/nTU1IlWC5SRdyQtGwgdJjyKa3i88YENRChG+z2vS2dc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BCo/ep9VQ+vqDIoWFeNcej7J3+HG7nNt6VNmnklclYt5J0N7XbGLUgGKhxbZzYAOakCD9exuE51hq++U9ZcE7zEkryt1OK+ER/CK8Rva/kZD66htNEdZSd6Cu3WLeMSmTUzNqhZ9XcLWK9XukA5N3+o5IBmY+Y+utb9IknwFdAE= Received: by 10.142.246.8 with SMTP id t8mr135602wfh.1194783882332; Sun, 11 Nov 2007 04:24:42 -0800 (PST) Received: by 10.142.104.1 with HTTP; Sun, 11 Nov 2007 04:24:42 -0800 (PST) Message-ID: <31fbaca90711110424o51986759o9445fd367e7dca5b@mail.gmail.com> Date: Sun, 11 Nov 2007 13:24:42 +0100 From: "Riccardo Giuntoli" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD pam.d proftpd problem 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: Sun, 11 Nov 2007 12:24:53 -0000 Hi there, i use proftpd as my ftp solution in other three production servers with no problem. Last week we buy out fourth server, and i started to install and configure FreeBSD as usual. After upgrade the sources and the ports i've got: [taglio@tsunami]/home/taglio(106): uname -a FreeBSD tsunami.chroot.eu 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Fri Nov 9 12:15:54 EST 2007 taglio@tsunami.chroot.eu:/usr/obj/usr/src/sys/TSUNAMI i386 [taglio@tsunami ]/home/taglio(107): And i've installed proftpd: [taglio@tsunami]/home/taglio(107): proftpd -v - ProFTPD Version 1.3.1 [taglio@tsunami]/home/taglio(108): For an initial simple configuration with no vhosts i've edited /usr/local/etc/proftpd.conf like this: [taglio@tsunami]/usr/local/etc(110): cat proftpd.conf ServerName "Chroot tsunami hosting" ServerType standalone DefaultServer on ScoreboardFile /var/run/proftpd.scoreboard Port 21 Umask 022 MaxInstances 30 User nobody Group nogroup DefaultRoot ~/www AllowOverwrite on DenyAll TimeoutIdle 0 TimeoutLinger 0 TimeoutLogin 0 TimeoutNoTransfer 0 TimeoutSession 0 TimeoutStalled 0 [taglio@tsunami ]/usr/local/etc(111): and in /etc/pam.d/ftpd i've got this: [taglio@tsunami]/usr/local/etc(111): cat /etc/pam.d/ftpd ftpd auth required pam_unix.so try_first_pass ftpd account required pam_unix.so try_first_pass ftpd session required pam_permit.so [taglio@tsunami]/usr/local/etc(112): After checking syntax and have started the proftpd daemon i've got this problem : [taglio@tsunami]/usr/local/etc(112): ftp localhost Trying 127.0.0.1... Connected to localhost.chroot.eu. 421 Service not available, remote server has closed connection. ftp> That i've got also on external interfaces. Can someone help me with some ideas? Thank you in advance, best regards, Riccardo Giuntoli -- Name: Riccardo Giuntoli Email: taglio@gmail.com Homepage: http://www.luxoro.org/ Location: Genova, Italy PGP Key: 0x67123739 PGP Fingerprint: CE75 16B5 D855 842FAB54 FB5C DDC6 4640 6712 3739 Key server: hkp://wwwkeys.eu.pgp.net