Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2005 22:49:56 -0400
From:      Aaron Peterson <dopplecoder@gmail.com>
To:        stephen honea <stephen_honea@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ftp security
Message-ID:  <45d750d2050815194953659576@mail.gmail.com>
In-Reply-To: <20050816023109.59234.qmail@web52401.mail.yahoo.com>
References:  <20050816023109.59234.qmail@web52401.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/15/05, stephen honea <stephen_honea@yahoo.com> 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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45d750d2050815194953659576>