Add vsftpd to xinetd in Redhat9.0

Source: Internet
Author: User
In Redhat9.0, add vsftpd to xinetd-Linux Enterprise Application-Linux server application information. For more information, see the following. The typical configuration of vsftp in rh8.0 is/etc/xinetd. d/vsftpd, but rh9 does not. I personally don't feel used to it, so I incorporated vsftpd into xinetd in rh9. (If any, please kindly advise)
1.
Modify/etc/vsftpd. conf
Change listen = YES to listen = NO

2. Add a file vsftpd in/etc/xinetd. d:
# Vi/etc/xinetd. d/vsftpd
Service vsftpd
{
Disable = no
Socket_type = stream
Wait = no
User = root
Server =/usr/sbin/vsftpd
Port = 21
Log_on_success + = PID HOST DURATION
Log_on_failure + = HOST
}

Step3.

Restart xinetd
/Sbin/service xinetd restart Stopping xinetd: [OK]
Starting xinetd: [OK]
#

# Chkconfig vsftpd on
# Service xinetd restart

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.