From owner-freebsd-questions@FreeBSD.ORG Tue Aug 16 02:49:57 2005 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 D9A8316A41F for ; Tue, 16 Aug 2005 02:49:57 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76E9F43D48 for ; Tue, 16 Aug 2005 02:49:57 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so753353nzd for ; Mon, 15 Aug 2005 19:49:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WoBFH9StDGFsfT7l10o8/MrjsXeJvOwbMl6KiAWrIn5hQyCu8mor7HmlBnEauyeesFuKt2ySi9xx/pLl2kYJ+iT3D4VDnkLTpR5zFdlwZgclnf0qazm56l506/ptY5FCPk3bMnAbGnKf8+toVX7kwHv7/GvtjyzbXSunHP4N/ro= Received: by 10.36.221.73 with SMTP id t73mr3491593nzg; Mon, 15 Aug 2005 19:49:57 -0700 (PDT) Received: by 10.36.128.17 with HTTP; Mon, 15 Aug 2005 19:49:56 -0700 (PDT) Message-ID: <45d750d2050815194953659576@mail.gmail.com> Date: Mon, 15 Aug 2005 22:49:56 -0400 From: Aaron Peterson To: stephen honea In-Reply-To: <20050816023109.59234.qmail@web52401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050816023109.59234.qmail@web52401.mail.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: ftp security 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: Tue, 16 Aug 2005 02:49:58 -0000 On 8/15/05, stephen honea wrote: > I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my= ftp server. > The author sugested to add a line to my fstab: >=20 > /dev/ad2s2f /home/ftp/incoming ufs rw,SUIDDIR 2 2 >=20 > however i don't have the file ad2s2f in my /dev directory >=20 > # Device Mountpoint FStype Options Dump P= ass# > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1e /tmp ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1d /var ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > #/dev/ad0s /ftp/incoming ufs rw,SUIDDIR 2 2 >=20 > [root]/etc- >=20 > i don't really understand the fstab but I gather > ad0s1 is the drive and a-f is the partitions created at boot time >=20 > basicly i am trying to sticky a directory mounted by fstab Matter of fact, it looks like you can turn this option on for a directory with the "chmod" command without it being it's own separate partition/filesystem...