From owner-freebsd-questions Wed Apr 4 18:34:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.webmailer.de (natmail2.webmailer.de [192.67.198.65]) by hub.freebsd.org (Postfix) with ESMTP id BFCFF37B446 for ; Wed, 4 Apr 2001 18:34:36 -0700 (PDT) (envelope-from wk@xtweb.de) Received: from balu ([195.27.60.246]) by post.webmailer.de (8.9.3/8.8.7) with SMTP id DAA15420 for ; Thu, 5 Apr 2001 03:34:35 +0200 (MET DST) From: "Wolfram Kraushaar" To: Subject: PAM configuration for Guest FTP? Date: Thu, 5 Apr 2001 03:35:36 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I set up Guest FTP-Accounts with proftpd 1.2.2rc1 on my FreeBSD 4.2-Stable Server. So i created new users, with home-dir /nonexistent and shell /sbin/nologin, because I don't want them to be able to login on a shell. Then I set up proftpd for these users, chrooting them (with Anonymous Directive) to the directory they should have access to... I modified /etc/pam.conf in the way the proftpd "make install" suggested: ftp auth required pam_unix.so try_first_pass ftp account required pam_unix.so try_first_pass ftp session required pam_permit.so so far, everything works fine and they can login via ftp, get chrooted and can exactly do what I want them to be able to do. The only thing that bothers me, are the following messages (in the system log) every time one of these users logs in: Mar 31 02:02:39 proftpd[29077]: _secure_path: cannot stat /nonexistent/.login_conf: Operation not supported I understand, that a non-existant file cannot be stated, but how can I disable those messages? Must there be an existing home directory for any non-anonymous ftp user? Can't believe this... I already posted this to the proftpd mailing list and got the answer, that proftpd doesn't require a ~/.login_conf and that this question may be pam-config related... Any advice? thx, Wolfram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message