buggy? vsftpd - anonymous upload+PID+reload/restart
Kovar Jan
jan.kovar na onsemi.cz
Pátek Srpen 6 11:55:40 CEST 2004
> Prijemny vecer.
> Neviete mi niekto poradit, ako spojazdnit vsftpd tak, aby fungoval
> anonymous upload?
>
> Dakujem
>
> AT
Tak jsem to jen tak zkusil a behem 20 sekund nebylo co resit. Takze popis:
vsftpd.conf
# Allow anonymous FTP? (Beware - allowed by default if you comment this
out).
anonymous_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you
will
# obviously need to create a directory writable by the FTP user.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
-------------------------
cd /home/ftp/
mkdir incoming
chmod 777 incoming
ls -l
root na test1 /home/ftp# ls -l
total 20
d--x--x--x 2 root root 4096 Mar 17 20:53 bin/
d--x--x--x 2 root root 4096 Apr 8 11:09 etc/
drwxrwxrwx 3 root root 4096 Aug 6 11:48 incoming/
d--x--x--x 2 root root 4096 Mar 17 20:53 lib/
drwxrwxr-x 7 root ajtici 4096 Jul 20 12:47 pub/
service vsftpd restart
Natlacil jsem do incoming zkusmo jeden soubor a vytvoril adresar. No
problem.
Trustix 2.1, vsftpd-1.2.1-3tr
Hezky den.
TNX
Další informace o konferenci Linux