wy-ftpd nefunguje

Cejka Rudolf xcejka00 at dcse.fee.vutbr.cz
Thu May 7 17:27:51 CEST 1998


> /* 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?

--------------------------------------------------------------------------
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