LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   ftp settings (https://www.linuxquestions.org/questions/linux-desktop-74/ftp-settings-542902/)

caracalsef 04-03-2007 04:38 AM

ftp settings
 
hi all! i have open suse 10.2 and vsftp. what i want is to set it for ppl to copy files in /srv/ftp (for example) because i don`t have send file on gaim. if someone want to send me a file, i want him to put it on ftp and so i can see it
anyone knows?

zytsef 04-03-2007 03:06 PM

Read the man page for vsftpd.conf. It's located in /etc and you'll find a whole bunch of example configurations in /usr/doc/vsftpd-<version>. I hope you have an idea about how to make it slightly more secure than simply allowing anonymous users to put files on your computer.

caracalsef 04-03-2007 03:19 PM

my /etc/vsftpd.conf file:

Code:

caracal:~ # cat /etc/vsftpd.conf
anonymous_enable=YES
local_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
nopriv_user=nobody
chroot_list_enable=YES
chroot_local_user=YES
background=YES
listen=YES
anon_mkdir_write_enable=YES
anon_upload_enable=YES
write_enable=YES
anon_world_readable_only=YES
no_anon_password=YES
download_enable=YES
anon_max_rate=0
listen_port=21
local_max_rate=0
max_per_ip=1
pasv_enable=YES
port_enable=YES
anon_root=/srv/ftp/anon/

and the result:


Code:

caracal:~ # ftp localhost
Trying 127.0.0.1...
Connected to localhost.
220 (vsFTPd 2.0.5)
Name (localhost:caracal): ftp
500 OOPS: vsftpd: refusing to run with writable anonymous root
ftp: Login failed.
ftp> bye
500 OOPS: child died
caracal:~ #

:(


All times are GMT -5. The time now is 06:30 AM.