From owner-freebsd-questions Mon Apr 2 9:13:43 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 0602C37B71C for ; Mon, 2 Apr 2001 09:13:39 -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 SAA13333 for ; Mon, 2 Apr 2001 18:12:52 +0200 (MET DST) From: "Wolfram Kraushaar" To: Subject: Guest FTP Accounts Date: Mon, 2 Apr 2001 18:13:45 +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) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I want to setup Guest FTP-Accounts on my 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 via ssh for security reasons. Then I set up proftpd for these users, chrooting them 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 up- and download files. The only thing that bothers me, are the following messages (on the console and in the system log): Mar 31 02:02:39 servername 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 these messages? I don't know if these messages come from my pam-settings or from proftpd itself. Any advice? thx, Wolfram Kraushaar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message