Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 1997 07:16:29 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Rick Morel <rmorel@morelr.com>
Cc:        isp@FreeBSD.ORG
Subject:   Re: FTP Problem
Message-ID:  <Pine.BSF.3.91.970723071425.869Z-100000@panda.hilink.com.au>
In-Reply-To: <2.2.32.19970722134430.00903ea0@mail.morelr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 22 Jul 1997, Rick Morel wrote:

> I'm running Wu-FTP and can't seem to find any real info, except for the
> statement that it adds security.
> 
> Anonymous FTP is fine. Here's my problem. Users can see anything on the
> machine. I did do a "chmod 711" on the /home subdir, so "backing" up one
> level hides that. Of course, someone can just "cd /home" and see everything.
> 
> Surely there's a way to prevent users from seeing/downloading things outside
> their home subdir????

In ftpaccess define a guestgroup, and list the users in that group in 
/etc/group. The user then has no access to /bin/ls, so you need to 
provide ~/bin/ls for each one.  A better method is to get the srcs for 
the latest ftpd for FreeBSD, enable INTERNAL_LS (or whatever the macro 
is) and put the users into /etc/ftpchroot after reading the man page.

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970723071425.869Z-100000>