Simple installation and configuration of vsftpd in FreeBSD

Source: Internet
Author: User
Simple installation and configuration of vsftpd under FreeBSD-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Install ports
/Usr/ports/ftp/vsftpd
Remember to start both options in make config.

2. Configuration
Add in/etc/rc. conf
Vsftpd_enable = "YES"

Add/usr/local/etc/vsftpd. conf
Listen = YES
Background = YES

3. Add an anonymous vsftpd user
# Pw group add ftp
# Adduser... (ftp, the specific nologin is not much to say)

Modify directory permissions (or log on incorrectly)
Chown-R 444/usr/home/ftp/

4. Start
/Usr/local/etc/rc. d/vsftpd start

5. logon Test
You can log on to anonymous and ftp, but not to other system accounts. Users are restricted to the/usr/home/ftp/directory. A simple anonymous server is complete.

Install vsftp using the ports package under FreeBSD
After installation, the configuration file is/usr/local/etc/vsftpd. conf.
The Startup File is/usr/local/etc/rc. d/vsftpd.

Add group: pw group add ftp
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.