From owner-freebsd-security Thu Feb 15 19:37:26 2001 Delivered-To: freebsd-security@freebsd.org Received: from castle.dreaming.org (castle.dreaming.org [216.221.214.170]) by hub.freebsd.org (Postfix) with ESMTP id BAC0A37B491 for ; Thu, 15 Feb 2001 19:37:21 -0800 (PST) Received: from Laptop (cr592943-a.bloor1.on.wave.home.com [24.156.38.199]) by castle.dreaming.org (8.11.2/8.11.2) with SMTP id f1G3b6u72295; Thu, 15 Feb 2001 22:37:16 -0500 (EST) (envelope-from services@freemail.dreaming.org) From: "The Dreaming Network Freemail Service" To: "Frank W. Miller" , Subject: RE: ftpd question Date: Thu, 15 Feb 2001 22:35:34 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 In-Reply-To: <200102160050.TAA21074@macalpine.cornfed.com> Importance: Normal Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I may be mistaken, but i think that if you remove the ftp entry in /etc/master.passwd (vi vipw of course) that anonymous logins will no longer work, but regular users can still get in. Source: ftpd man page... "6. If the user name is ``anonymous'' or ``ftp'', an anonymous ftp account must be present in the password file (user ``ftp'')." of course, in case i'm wrong, save a copy of that entry in master.passwd somewhere ;-) grep ftp: /etc/master.passwd > /root/backup.ftpentry Cheers, Mit :-----Original Message----- :From: owner-freebsd-security@FreeBSD.ORG :[mailto:owner-freebsd-security@FreeBSD.ORG]On Behalf Of Frank W. Miller :Sent: February 15, 2001 19:51 PM :To: freebsd-security@FreeBSD.ORG :Cc: Frank W. Miller :Subject: ftpd question : : : : :This is probably a simple question but I'm a newbie at sys admin so... :I've had some people logging into my ftp server and dumping files :lately. Is there a way to prevent anonymous users from uploading :files while still allowing regular users to upload? Please respond :via email to fwmiller@cornfed.com. : :Thanks, :FM : :-- :Frank W. Miller :Cornfed Systems Inc :www.cornfed.com : : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-security" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message