ftp security

Aaron Peterson dopplecoder at gmail.com
Tue Aug 16 02:49:58 GMT 2005


On 8/15/05, stephen honea <stephen_honea at 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:
> 
> /dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR    2       2
> 
> however i don't have the file ad2s2f in my /dev directory
> 
> # Device                Mountpoint      FStype  Options         Dump    Pass#
> /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
> 
> [root]/etc-
> 
> i don't really understand the fstab but I gather
> ad0s1 is the drive and a-f is the partitions created at boot time
> 
> 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...


More information about the freebsd-questions mailing list