After installing FTP in RedHat Enterprise 5, only anonymous users can log on

Source: Internet
Author: User
For help, if FTP is installed in RedHat Enterprise 5, only anonymous users can log on to the -- Linux Enterprise Application-Linux server application. For details, see the following. [I = s] This post was last edited by Mo Nian, love

The configuration has not been changed. The configuration method is as follows:
Anonymous_enable = YES // whether anonymous access is allowed. The anonymous accounts are ftp and anonymous.

Local_enable = YES // whether to allow access by local users

Write_enable = YES // whether to allow local users to write data

Local_umask = 022 // when a local user writes files, the default permissions for these files

Dirmessage_enable = YES

Xferlog_enable = YES // whether to enable logs

Xferlog_std_format = YES // whether to store logs in standard format

Connected_from_port_20 = YES // whether to allow connection requests from 20

Pam_service_name = vsftpd // set the configuration file name of the PAM Authentication Service, which is located in the/etc/pam. d directory.

Listen = YES // FTP is in independent Startup Mode

Tcp_wraapers = YES // This server uses tcp_wrappers as the host Access Control Method

Userlist_enable = YES // check the settings in vsftpd. user_list. The file is in/etc. (In RHEL5

The file is located in/etc/vsftpd and the file name is user_list.

Userlist_deny = YES // this item and the previous item constitute a blacklist, that is, the user in vsftpd. user_list does not

Allow access to the FTP server. When this option is set to NO, vsftpd. user_list is white

List, that is, only users in vsftpd. user_list can access the FTP server.

Chroot_local_user = YES // when a local user logs on, the user is banned from the FTP root directory.

Chroot_list_file =/etc/vsftpd/chroot_list // use this item with the previous one. If this item does not exist, Set

If one item is YES, all local users are banned from the FTP root.

Directory. If this item exists, only users in the file are banned.

Max_clients = 100 // maximum number of concurrent connections to the FTP server

Max_per_ip = 5 // a maximum of five connections can be created for each ip address.

Local_max_rate = 50000 // maximum local user transmission rate, in B/s

Anon_max_rate = 10000 // maximum transmission rate of anonymous users, measured in B/s

But only anonymous users can log on after the service is started.
Hope the old birds can help. Thank you!
Original article: http://blog.sina.com.cn/s/blog_4ae1b7cb0100a287.html
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.