🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.uu.comp.os.linux.questions
Article #240

Re: Securing FTP

#240
From: dan
Date: Sat, 11 Apr 1998 00:00
35 lines
2088 bytes
Daryl Lim wrote:

> Hi,
>
> Could someone tell me or point me to some place where it documents how
> to secure a FTP Server.
>
> I'm running RedHat 4.1 with 2.0.29 Kernel ..
>
> What I would like to know is how can I stop webpage owners from
> browsing outside there home directory eg. /web/html/~page/ . Currently
> if they were to FTP in they could browse outside there home directory
> to other directories eg. /usr/??? . This may seem very paranoid but I
> just want them to be able to FTP to their home directory to change
> their pages *only* . And not really snoop around
>
> I have found a site ages ago . That if I remembered correctly didn't
> allow them to browse outside the base directory eg. /web .. They
> couldn't go below that eg / . But now I can not remember where it was
>
> Any help would be extremely grateful
>
> Daryl,

  Normally as in the "anonymous" type FTP, the user gets a line in
/etc/passwd as :
babe:ecrypted_passwd:uid:gid:comment:/web/html/./user:/bin/false

^^^
the dot means a chroot()ed path so /web/html becomes "/", this is the
theory,
you can achieve this with Wu-ftpd or  proftpd.
Hope this helps a little
Daniel
Technical Details
Message-ID: <352EB44C.92C2399E@easynet.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3525d8fb.26924992@news.ihug.co.nz>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9b51,a186a50550db532
X-Google-Attributes: gidf9b51,public
X-Google-Thread: 100b1f,a186a50550db532
X-Google-Attributes: gid100b1f,public
X-Google-Thread: ff9be,a186a50550db532
X-Google-Attributes: gidff9be,public
X-Google-Thread: 102983,a186a50550db532
X-Google-Attributes: gid102983,public
X-Google-Thread: 10a997,a186a50550db532
X-Google-Attributes: gid10a997,public
From: dan <danielga@easynet.fr>
Subject: Re: Securing FTP
Date: 1998/04/11
Message-ID: <352EB44C.92C2399E@easynet.fr>
X-Deja-AN: 342933091
Content-Transfer-Encoding: 7bit
References: <3525d8fb.26924992@news.ihug.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: [posted via] Easynet France
Newsgroups: alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup