wy-ftpd nefunguje

Pavel Just Pavel.Just at ais.cz
Wed May 13 09:19:31 CEST 1998


On Thu, 7 May 1998, Cejka Rudolf wrote:

> Date: Thu, 7 May 1998 17:27:51 +0200 (MET DST)
> From: Cejka Rudolf <xcejka00 at dcse.fee.vutbr.cz>
> Reply-To: users-l at freebsd.cz
> To: users-l at ais.cz
> Subject: Re: wy-ftpd nefunguje
> 
> 
> > /* vypis dir jsem orezal */
> > ftp> dir
> > drwxr-xr-x  4 http  wheel      1024 Mar 16 20:46 adresar
> > ftp> get adresar.tar
> > local: adresar.tar remote: adresar.tar
> > 200 PORT command successful.
> > 550 adresar.tar: No such file or directory.
> > ftp> 
> 
> Tak jinak:
> 
> . cd /usr/local/etc
> . cp ftpaccess.example ftpaccess
> . cp ftpconversions.example ftpconversions
> . cp ftpusers.example ftpusers
> . /stand/sysinstall + Configure -> Networking -> Anon FTP + odklepat
> . cd /etc
> . patch inetd.conf
>   6c6
>   < ftp stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l
>   ---
>   > ftp stream  tcp     nowait  root    /usr/local/libexec/ftpd ftpd -l -a
> . kill -1 `cat /var/run/inetd.pid`
> . cp /usr/bin/{tar,gzip} /var/ftp/bin
> . chmod a-r /var/ftp/bin/{tar,gzip}
> 
> Dale je vice nez vhodne nejak zeditovat ftpaccess a ftpusers.
> 
> Pro rozbehnuti komprese je klicove vytvorit soubory /usr/local/etc/ftpaccess
> a /usr/local/etc/ftpconversions, ftpd volat s parametrem -a (a aktualizovat
> inetd pres kill) a do ftp adresare /bin nakopirovat alespon binarky tar a
> gzip (s compress jsou problemy, protoze je prelozeny dynamicky a v ftp
> by musel mit k dispozici jeste libc; proto je lepsi compress nepouzivat).
> 
> Tak, ted uz to preci musi jet, nebo ne?
Jo, funguje to. Chyba byla v parametru "-a".
Dekuje

                   Pavel Just
> 
> --------------------------------------------------------------------------
> Rudolf Cejka                            E-mail: xcejka00 at dcse.fee.vutbr.cz
> Technical University of Brno, Faculty of El. Engineering and Comp. Science
> Bozetechova 2, 612 66 Brno, Czech Republic
> 

-----------------------------------





More information about the Users-l mailing list