How to create an account for Pureftpd

Source: Internet
Author: User

PureftpdIt is an FTP program software. Today I will introduce you in detail: How to Create a Pureftpd account

Create an account

With ftp, you must have an account.

 
 
  1. #vipw  
  2.  
  3. ftpuser:$1$rEO39XEq$kRMKuch12ugYu3hCh/sPA.:9999:9999::0:0:ftp:/ftp:  
  4.  
  5. /sbin/nologin  
  6.  
  7. #vim /etc/group  
  8.  
  9. ftpgroup:*:9999:  

What identity does the ftp client Log On As above.

Next, I want to select a place for the pure-ftpd password file. I chose to put it under/ftp/etc /.

 
 
  1. #pure-pw far -f pureftpd.ps -u 9999 -g 9999 -d /ftp/far -y 2  
  2.  
  3. #pure-pw mkdb pureftpd.pdb -f pureftpd.ps  

;

Useradd; [-f <Password File>;]-u; [-g;]

-D/-d <main directory>; [-c;]

[-T <download bandwidth>;] [-T <upload bandwidth>;]

[-N <maximum number of files downloaded>;] [-N <maximum number of Mb downloaded>;]

[-Q;] [-Q;] (upper/lower transfer ratio)

[-R; //;] [-R; //;]

[-I;/;] [-I;/;]

[-Y <maximum number of connections at the same time>;]

[-Z;-;] (24-hour Logon Time) [-m]

Pure-pw usermod;-f;-u; [-g;]

-D/-d;-[c;]

[-T;] [-T;]

[-N;] [-N;]

[-Q;] [-Q;]

[-R; //;] [-R; //;]

[-I;/;] [-I;/;]

[-Y;]

[-Z;-;] [-m]

Pure-pw userdel; [-f;] [-m]

Pure-pw passwd; [-f;] [-m]

Pure-pw show; [-f;]

Pure-pw mkdb [; [-f;]

-D;: chroot user (recommended value)

-D;: don't chroot user

-Y 0: unlimited connections at the same time

-M: update the/etc/pureftpd. pdb file at the same time. (If PureDB is not placed here, do not add it)

For a :10 ratio, use-q 1-Q 10

To allow access only between 9 am and 6 pm, use-z 0900-1800

**************************************** ************************

File Permission section. (You Need To Change Upload users to ftpuser: ftpgroup. Yes.

The permission for downloading files is 644)

# Chown-R ftpuser: ftpgroup Upload/

With the complete Pureftpd resolution, we know how to create an account on Pureftpd! Hope to help you!

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.