Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set up account in Pureftpd

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to set up an account in Pureftpd". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "how to set up an account in Pureftpd".

Set up an account

With ftp. Of course, you have to have an account.

# vipw ftpuser:$1 $rEO39XEq$kRMKuch22ugYu3hCh/sPA.:9999:9999::0:0:ftp:/ftp: / sbin/nologin # vim / etc/group ftpgroup:*:9999:

The above is the identity of ftp customers to log in.

Next, I want to choose a place to put the password file that pure-ftpd wants to eat. 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;]-u; [- g;]

-DPUBUBUTHART; [- c;]

[- t;] [- T;]

[- n;] [- N;]

[- Q;] [- Q;] (up / down ratio)

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

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

[- y;]

[- z; -;] (login 24-hour system) [- m]

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

-DPUBUBUTHART;-[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 number of links at the same time

-m: update / etc/pureftpd.pdb file at the same time. (please do not add PureDB if it is not placed here)

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

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

*

About the file authority section. It is necessary to change the users of Upload to ftpuser:ftpgroup. But

The permission of the downloaded file should also be 644)

# chown-R ftpuser:ftpgroup Upload/

The above is all the contents of the article "how to set up an account in Pureftpd". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report