You are not logged in.

#1 2010-10-30 20:08:54

Nicodeemus
Member
Registered: 2010-10-19
Posts: 7

Vsftpd problem

Hey,

I'm trying to set up active ftp server using vsftpd that runs in standalone mode. I can log in with local account, but it seemingly only writes a html document and logs out automatically. Configuring vsftpd is quite new to me, so I dont have a clue how to go on.

My goal is also to allow anonymous users to download files, but I'd rather get vsftpd to work properly with my local account first.

Output after login:

 $ wget ftp://nico:password@91.153.157.22
--2010-10-30 22:40:11--  ftp://nico:*password*@91.153.157.22/
           => ".listing"
Connecting to 91.153.157.22:21... connected.
Logging in as nico ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not needed.
==> PASV ... done.    ==> LIST ... done.

    [ <=>                                                                                ] 2,006       --.-K/s   in 0.001s  

2010-10-30 22:40:11 (2.92 MB/s) - ".listing" saved [2006]

Removed ".listing".
Wrote HTML-ized index to "index.html.2" [3263]. 

I left out some irrelevant commands, such as anon_mkdir_enable from the output of vsftpd.conf. Looks like this:

listen=YES # allowing to run in standalone mode
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
listen=YES # listens to IPv4 sockets
pam_service_name=vsftpd # after writing this line I had access to the server 

Last edited by Nicodeemus (2010-10-31 10:08:10)

Offline

Board footer

Powered by FluxBB