Simple use of pure-ftpd On debian

Source: Internet
Author: User
Simple use of pure-ftpd On debian-Linux Enterprise Application-Linux server application information. For details, refer to the following section. 1. Control Mode of pure-ftpd (how to set control parameters of pure-ftpd)
1. Command Line Control + Parameter Method
Use pure-ftpd arg directly
For example, you can use this command to start
/Usr/local/sbin/pure-ftpd-S 42
2. config file control
(1) Use pure-config.pl/etc/pure-ftpd.conf
With these files in the tar.gz original code package, pure-ftpd parameters can be set in the pure-ftpd.conf
The default pure-ftpd.conf file for this original code has been set with many parameters that can be modified as appropriate to meet your own requirements

(2) Use pure-ftpd-wrapper (this is available on debian. I don't know if this is available for other releases)
All pure-ftpd-wrapper control files are stored in/etc/pure-ftpd/conf.
However, the parameter settings are different from (1:
For example, I want to set the NoAnonymous Parameter
In (1), we will write in the pure-ftpd.conf:
NoAnonymous yes
Command:
Echo "NoAnonymous yes"> path/to/pure-ftpd.conf
But in (2), we need to first create a file named NoAnonymous under the/etc/pure-ftpd/conf directory, and then
Set the content of NoAnonymous to yes.
Command:
Cd/etc/pure-ftpd/conf
Touch NoAnonymous
Echo 'yes' NoAnonymous


2. Virtual user implementation

/Usr/share/doc/pure-ftpd/README. Debian

Using PureDB
------------
Initialize the database with at least one user:
Pure-pw useradd www-u 1000-g 1000-d/www
Pure-pw mkdb
Create symlink to add PureDB to authentication methods:
Cd/etc/pure-ftpd/auth
Ln-s ../conf/PureDB 50 pure
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.