SME server configuration solution (FTP) of file server)
2001-06-05 12:47
Publisher: NetBull Readings: 84 Tanghaijing (Submission) Second section of FTP Server & 2.1 Introduction to the vast majority Linux release version is WashingtonUniversity FTP, it is a famous FTP server software, generally referred to as WU- FTP. It is powerful and can operate well in many UNIX operating systems, such as IBM AIX, FreeBSD, HP-UX, Nextstep, Dynix, Sunos, Solaris, etc. So the FTP server on the Internet, which uses more than half of it. WU-FTP has many powerful features, which is suitable for management requirements for FTP servers with large throughput: 1) You can automatically perform automatic compression or decompression operations on files while downloading files; 2) can be on different networks Machine to do different access restrictions; 3) You can record file upload and download time; 4) You can display the information at the time of transmission, so that users can promptly understand the current transmission dynamics; 5) Set the maximum number of connections, improve efficiency, Effectively controls the load. & 2.2 Requirements Resources & 1.2.1 Requirements Required Package RedHat6.2 Server Installation & 1.2.2 Required Profiles / etc / ftpusers / etc / ftpaccess / var/run/ftp.pids / etc / ftpConversions / var / log / xferlog / ETC / FTPGROUPS / etc / ftpHosts & 1.2.3 Related Commands FTPD FTP Server Program FTPSHUT Used to Turn off the FTP Server Program FTPCount Display Current Online Vocal FTPWHO View Current FTP Server Connection CKConfig Check if the setting of the FTP server is correct FTPRESTART restart FTP service & 1 .2.4 Related Contents / Home / FTPD / BIN Store some executable files for FTP users / HOME / FTPD / ETC store some configuration files for FTP users / home / ftpd / pub storage for download information / home / ftpd / incoming Space Space & 2.3 Configuration Scenario 1. / etc / ftpaccess Description: FTP Permissions Profile Source File: GuestUSER WEBOA # FTP User Class All Real, Guest, Anonymous * Class Weboa Guest * # Format: Class [Class Name] [REAL / guest / Anonymous] [IP Address] function: The function of this instruction sets the category of the user on the FTP server. The IP address of the client can be restricted, allowing a part of the IP address or all IP address access. The user on the FTP server can basically be divided into the following three categories: REAL has a legal account user; Guest has a recorded anonymous user; Anonymous permission is the lowest anonymous user email root@weboa.com.cn loginfails 5 #Format: Loginfails [Summary] Features: When the user logs in to the FTP server, the number of times the user is allowed to enter the wrong password. Readme Readme * CWD = * message /welcome.msg login message. measureage cwd = * # format: Message [file name] [instruction] function: When the user performs the specified instruction, the system will specify the file content. show.
Compress Yes All # Format: Compress [YES / NO] [Category] function: Set which category user can use the Compress function. TAR YES All # Format: TAR [YES / NO] [Category] Features: Set which category user can use the TAR (archive) function. CHMOD NO GUEST, Anonymous # Format: Chmod [YES / NO] [REAL / Anonymous / Guest] function: Set whether the user is allowed to change file permissions using the chmod command. It is allowed by default. DELETE YES All # Format: Delete [YES / NO] [REAL / Anonymous / Guest] function: Set whether the user is allowed to delete files using the delete command. It is allowed by default. OverWrite Yes Guest # format: OverWrite [YES / NO] [REAL / Anonymous / Guest] function: Set whether you allow the specified user to overwrite the same name file. It is allowed by default. Rename Yes Guest # Format: Rename [Yes / NO] [REAL / Anonymous / Guest] function: Set whether the user is allowed to use the rename command to be renamed for file. It is allowed by default. Log TransferS Anonymous, Real Inbound, Outbound # Format: Log TransferS [REAL / GUEST / Anonymous] [Inbound / Outbound] Features: Set which users' uploads (INBOUND) and download (Outbound) operations Make logs. Shutdown / etc / shutmsg # format: Shutdown [file name] function: The FTP server off time can be set in the file specified later, when the setting time is arrived, you can't log in to the FTP server. If you want to recover, you will be The file is deleted. This file must be generated by the instruction / bin / ftpshut. Passwd-check rfc822 warn # format: Passwd-check [none / trivial / rfc822] [Enforce / Warn] feature: Set the password usage of anonymous user anonymous. NONE indicates that no password verification, any password can be logged in; Trival indicates that you can log in as if you enter the character "@" as long as the password is entered; RFC822 indicates that the password must meet the E-mail format specified in RFC822 to log in; Enfore The password does not meet the format specified above. WARN means that only warning messages do not meet the regulations, and can still be logged in. Limit Remote 32 Any /etc/ftpd/toomany.msg # Format: Limit [Category] [Number] [Time] [File Name] Function: The function of this instruction is the specified number of categories specified within the specified time. . When the upper limit is reached, the contents of the specified file are displayed. UPLOAD / HOME / FTPD * No Upload / Home / FTPD / PUB YES Anonymous 0644 DIRS # Format: Upload [Root Directory] [Upload Directory] [YES / NO] [User] [Permissions] [DIRS / NODIRS] function: Uploaded catalogs make more detailed settings.
Alias incoming / home / ftp / incoming # format: Alias [Directory Alias] [Directory Name] Function: Set an alias to the specified directory, you can use a shorter directory alias when switching the directory. 2. / etc / ftpusers Description: FTP User Blacklist, for security reasons, need to ban the following users from using FTP source files: root bin daemon ADM LP SYNC SHUTDOWN HALT MAIL News UUCP Operator Games Nobody & 2.4 Summary in numerous network applications, FTP (File Transfer Porotocol has a very important position. A very important resource in the Internet is software resources. Most of the various software resources are placed in the FTP server. It can be said that FTP and Web services occupy more than 80% of the entire Internet application. The FTP service can be divided into two categories according to the different service objects: one is the system FTP server, which only allows legitimate users on the system; the other is anonymous FTP server, Anonymous FTP Server, which can be logged in with anyone The FTP server gets the file. If you choose "ftpd" when you install the Linux system, after you select the "ftpd", after installing the Linux system, it has been installed in the system in the system. We can use it to implement the function of the system FTP server. We only need to make some personalized settings based on our needs on this basis. Related Resources: Linux SME Server Configuration Scheme