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.
- #vipw
-
- ftpuser:$1$rEO39XEq$kRMKuch12ugYu3hCh/sPA.:9999:9999::0:0:ftp:/ftp:
-
- /sbin/nologin
-
- #vim /etc/group
-
- 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 /.
- #pure-pw far -f pureftpd.ps -u 9999 -g 9999 -d /ftp/far -y 2
-
- #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!