Re: ftp server access
From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 11/25/04
- Next message: leebert: "Re: Linux server help"
- Previous message: Doug Laidlaw: "Quote of the month?"
- In reply to: George Bell: "ftp server access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Nov 2004 07:05:44 GMT
On Wed, 24 Nov 2004 19:24:41 -0500, George Bell
<masteroftimadim@netscape.net> wrote:
> Hi List,
>
> I'm running an ftp server on my (SuSE)linux box, using
> the bsd port "ftpd" run from the inetd superserver. The
> corresonding line in inetd.conf reads:
>
> ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -S -u 022
>
> and the directory I want to serve is /usr/local/ftp/pub. The
> problem is that I can log in as anonymous and access my entire
> filesystem! In fact, as anoymous I was able to navigate to
> /etc and download passwd !! I really need to restrict access to
> just /usr/local/ftp/pub, but the documentation that came with
> the ftpd doesn't say say anthing about file access. Is there
> some way I can restrict access to pub?
>
> Thanks! George
>
> -- # #...
With oftpd, you can specify the root-directory as the last
argument on the commandline, full path.
Hard to imagine that you can't do something similar
with in.ftpd. If not there, it HAS to be an environment
variable or in a configuration file that is either in
/etc or in your home directory (probably as a 'dot' directory,
as in ~/.in.ftpd)
HTH
AC
- Next message: leebert: "Re: Linux server help"
- Previous message: Doug Laidlaw: "Quote of the month?"
- In reply to: George Bell: "ftp server access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|