Article View: aus.computers.linux
Article #60064Re: Setting ftp server in Linux!!??
From: michael butler
Date: Tue, 30 Aug 1994 17:12
Date: Tue, 30 Aug 1994 17:12
16 lines
1624 bytes
1624 bytes
Larry Doolittle (doolitt@recycle.cebaf.gov) writes: : Either that, or the path for ls is hard-coded in the ftp binary, : and that path is not where your ls is installed. It is in the "standard" distributions as well as wuarchive's flavour BUT this is not a problem. ftpd, after it obtains the caller's identity, does a chroot to its own ftp directory. All that needs to be done is to create a 'bin' subdirectory of that and COPY (not link) ls into it. Do similarly with any required shared libs. : A quick soft-link cured the problem. This is a potential security hole .. don't link anything, michael
Technical Details
Message-ID:
<CvCyG6.GBn@asstdc.scgt.oz.au>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!asstdc.scgt.oz.au!imbReferences:
<33pl30$1q9@vixen.cso.uiuc.edu> <longyearCvArDw.BJp@netcom.com> <CvB3wG.FD2@murdoch.acc.Virginia.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100df9,3f730526e4534c1e X-Google-Attributes: gid100df9,public X-Google-Thread: 100b1f,3f730526e4534c1e X-Google-Attributes: gid100b1f,public X-Google-Thread: 102983,3f730526e4534c1e X-Google-Attributes: gid102983,public X-Google-ArrivalTime: 1994-08-30 11:14:53 PST Newsgroups: aus.computers.linux,comp.os.linux.admin,comp.os.linux.help Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!asstdc.scgt.oz.au!imb From: imb@asstdc.scgt.oz.au (michael butler) Subject: Re: Setting ftp server in Linux!!?? References: <33pl30$1q9@vixen.cso.uiuc.edu> <longyearCvArDw.BJp@netcom.com> <CvB3wG.FD2@murdoch.acc.Virginia.EDU> Organization: Assorted C Software, Sydney NSW Date: Tue, 30 Aug 1994 17:12:04 GMT X-Newsreader: TIN [version 1.2 PL2] Message-ID: <CvCyG6.GBn@asstdc.scgt.oz.au> Reply-To: imb@scgt.oz.au Lines: 16