Questions about vsftpd

Issues related to software problems.
Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Questions about vsftpd

Post by Divejobsonline » 2010/05/17 18:19:05

I installed the VSFTPD from YUM and installed the webmin module.

i can connect to the server with Telnet but can?t list files.

When i try to connect with a FTP client i get the following errors:


An error occured openig that folder on the ftp server. Make sure you have access to that folder.

200 Switching to ASCII mode.
227 Entering passive mode (172,20,1,5,69,210)

Help me please with this issue above



How to i choose Users and what folders to use??

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: Questions about vsftpd

Post by Divejobsonline » 2010/05/17 20:54:53

How do you all change your FTP connections? Or configure them? I don't get the folder tree, I can only log on with 1 user. Need to add many more.

Is there anyone who can tell what might be wrong, where I can see (or read) and unfortunately I fall under the category n00b but I hope with this to learn more about CentOS and Linux users. but right now this feels a bit urgent, and I hope I can get help to achieve this.

Sorry! But I need you all right now! :-(

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: Questions about vsftpd

Post by chuina » 2010/05/18 02:32:40

The [b]Deployment Guide[/b]'s [url=http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/ch-ftp.html]Chapter 22. FTP[/url] would be a good start.

In addition,[b]man vsftpd.conf[/b] will show many useful option.

There are [i]Wiki Pages[/i] also, [url=http://wiki.centos.org/HowTos#head-a60a0c1a852bb1966eacf7ecd47616a4c8b962b1]How To FTP[/url]

I've not worked with 'webmin' yet. Why do you need this one ?

r_hartman
Posts: 706
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Questions about vsftpd

Post by r_hartman » 2010/05/18 06:55:00

I wrote a little manual for a client on setting up vsftpd for using FTPS on RHEL5: [url=http://hac-maarssen.nl/download/vsftpd_FTPS_Setup_RHEL5.pdf]vsftpd FTPS setup[/url]
If you only want FTP you can forget about the SSL stuff.
It has instructions for RHEL4 and RHEL3 as well.
In any case, it should get you going fairly quickly.

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: Questions about vsftpd

Post by Divejobsonline » 2010/05/18 22:21:21

Hi.

I have followed the manual and looked in the manual and the wiki.

I now gets the server to answer but it don?t want to accept any of my logins.

Any suggestions?

[quote]
r_hartman wrote:
I wrote a little manual for a client on setting up vsftpd for using FTPS on RHEL5: [url=http://hac-maarssen.nl/download/vsftpd_FTPS_Setup_RHEL5.pdf]vsftpd FTPS setup[/url]
If you only want FTP you can forget about the SSL stuff.
It has instructions for RHEL4 and RHEL3 as well.
In any case, it should get you going fairly quickly.[/quote]

r_hartman
Posts: 706
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Questions about vsftpd

Post by r_hartman » 2010/05/19 08:53:51

[quote]
Divejobsonline wrote:
I now get the server to answer but it don?t want to accept any of my logins.

Any suggestions?[/quote]

Depends. The manual sets up the server for FTSP only, i.e. it will not accept plain FTP sessions.
If you have the vsftpd.conf copied from the manual, you most likely need to take out these three lines:
[code]ssl_enable=YES
rsa_cert_file=/etc/vsftpd/vsftpd.pem
force_local_data_ssl=YES [/code]

or change YES to NO

Also, make sure you list the users you want to allow in /etc/vsftpd/user_list; users not in that list will not be allowed to sign in.

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: Questions about vsftpd

Post by Divejobsonline » 2010/05/19 18:42:40

Still can?t login

Below is a copy of my vsftpd.conf

I have but the users in the user_list.



#data_connection_timeout=
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
nopriv_user=ftp
ftpd_banner=Welcome to FTP service.
chroot_list_enable=YES
chroot_local_user=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
tcp_wrappers=NO
pasv_min_port=12020
pasv_max_port=12040
ftp_username=root
#max_per_ip=
force_dot_files=NO
#listen_address=
#hide_file=
#anon_max_rate=
#local_max_rate=
listen=yes

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: Questions about vsftpd

Post by chuina » 2010/05/19 20:33:11

[quote]Divejobsonline wrote:
.......
ftp_username=root
.......[/quote]
I'm familiar with 'ftp_username=ftp'

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: Questions about vsftpd

Post by Divejobsonline » 2010/05/19 21:35:49

No change if i have different names instead of root or comment the row out




chuina wrote:
[quote]Divejobsonline wrote:
.......
ftp_username=root
.......[/quote]
I'm familiar with 'ftp_username=ftp'[/quote]

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: Questions about vsftpd

Post by Divejobsonline » 2010/05/20 13:13:26

Again another who has some ideas how to solve this? For me it is a big problem. I'm getting a bit stressed out about not understand why I can not access the server through FTP. I think that everything is as it should be according to recommendations, manuals, FAQs.

But obviously it is not so, please! :-(

Post Reply

Return to “CentOS 5 - Software Support”