In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to create users in CentOS? for this question, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
CentOS user creation has been going on for some time. I would like to talk about my personal understanding of CentOS user creation, and then I will explain CentOS user creation. CentOS is a community of open source software contributors and users. It recompiles the RHEL source code and becomes one of the many communities that release new releases and is in the process of continuous development.
LimitRecursion 2000 8 allows anonymous CentOS users to create new directories? AnonymousCanCreateDirs no if the system loaded exceeds the following value, anonymous CentOS users will be prohibited from downloading. The port range of the MaxLoad 4 passive connection response. -for firewalling. PassivePortRange 30000 50000 forces an IP address to use passive response (PASV/EPSV/SPSV replies). -for NAT. Symbolic host names are also accepted for gateways with dynamic IP addresses.
ForcePassiveIP 192.168.0.1 ratio of uploads / downloads of anonymous CentOS users. AnonymousRatio 1 10 upload / download ratio for all CentOS users. This directive superscedes the previous one. UserRatio 1 10 does not accept downloads of files owned by "ftp". For example: files uploaded by anonymous CentOS users that have not been verified by the local administrator.
The IP address and port on which the AntiWarez yes service listens. (default is all IP addresses and port 21) Bind 127.0.0.1 * * bandwidth (KB/s) of 21 anonymous CentOS users. AnonymousBandwidth 8
* * bandwidth (KB/s) for all CentOS users, including anonymous CentOS users. Use AnonymousBandwidth * or* UserBandwidth, both makes no sense. UserBandwidth 8 property mask values for new directories and files. :. 177:077 if you feel paranoid. Umask 133 ID 022 authenticates the smallest ID (UID) allowed by CentOS users to log in.
MinUID 100allows only authenticated CentOS users for FXP transmissions. AllowUserFXP yes allows anonymous CentOS transmission for anonymous FXP users and non-anonymous CentOS users. AllowAnonymousFXP no CentOS users cannot delete and write dot files (the file name is'.' Even if the CentOS user is the owner of the file. If the TrustedGID instruction is enabled, the CentOS user of the group to which the file belongs can access the point file (dot-files). ProhibitDotFilesWrite no forbids reading point files (the file name is'.' Beginning of the file) (.history, .ssh.) ProhibitDotFilesRead no never overwrites files. Automatically rename the uploaded file when its file name already exists, such as file.1, file.2, file.3,...
AutoRename no does not accept anonymous CentOS users uploading new files (no = allow uploading) AnonymousCantUpload no only allows non-anonymous CentOS users from the following IP address to connect. You can use this directive to open several public network IP to provide anonymous FTP, while keeping a private firewall-protected IP for remote management. You can also allow only one intranet address for authentication, while in another
A purely anonymous FTP service is provided on IP. # TrustedIP 10.1.1.1 if you want to add PID to each line of the log, remove the comments from the following lines.
LogPID yes creates an additional log file using a format similar to Apache, such as: fw.c9x.org-jedi [13/Dec/1975:19:36:39] "GET / ftp/linux.tar.bz2" 21809338 this log file can be processed by the www traffic analyzer. AltLog clf:/var/log/pureftpd.log uses the optimized format to create an additional log file for statistical reports. AltLog stats:/var/log/pureftpd.log
Create an additional log file using the standard W3C format. (compatible with most business log analyzers) AltLog w3c:/var/log/pureftpd.log does not accept CHMOD commands. CentOS users cannot change the properties of their files. NoChmod yes allows CentOS users to restore and upload files, but not to delete them. KeepAllFiles yes
If the CentOS user home directory does not exist, it will be created automatically. CreateHomeDir yes enables virtual disk quotas. * the number of numbers is the number of files. The second number is the total file size of * * (in Mb). Therefore, 1000 CentOS 10 limits each user to 1000 files, a total of 10Mb. Quota 1000 standalone 10 if your pure-ftpd is compiled with a stand-alone server (standalone support, you can change the location of the pid file. The default location is / var/run/pure-ftpd.pid. PIDFile / var/run/pure-ftpd.pid if your pure-ftpd compiles with pure-uploadscript support, this directive will cause pure-ftpd to send information about the new upload to / var/run/pure-ftpd.upload.pipe so that pure-uploadscript can read and call a script to process the new upload.
The CallUploadScript yes option is useful for servers that allow anonymous uploads. When / var/ftp is in / var, you need to reserve some disk space to protect the log file. When the disk partition uses more than one percent of X, new uploads will no longer be accepted. MaxDiskUsage 99 set it to 'yes'' if you don't want your CentOS user to rename the file. NoRename yes is a 'customer proof': workspace (workaround) against common customer errors, similar to:' chmod 0 public_html' 'errors. That's a valid order, however, which will lead to ignorant customers ordering their own files that will keep your technical support busy with stupid questions. This feature will be of little use if you are sure that all your CentOS users have basic knowledge of Unix. However, if you are a hosting provider, enable it.
CustomerProof yes concurrency limit per CentOS user. This directive works only if the-- with-peruserlimits compilation option is added to compile. (most binary releases are examples) the format is: for example: 3:20 means that the same authenticated CentOS user * * can have three processes active at the same time. And there can only be up to 20 anonymous CentOS user processes at the same time.
This is the answer to the question about how to create users in CentOS. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel for more related knowledge.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.