Web site hosting - delete no anonymous This prevents anonymous user
delete no anonymous This prevents anonymous user name from deleting files or directories. overwrite no anonymous This prevents anonymous user name from overwriting existing files or directories. rename no anonymous This prevents anonymous user name from renaming any files or directories. log transfers anonymous, guest, real inbound, outbound This logs file transfers for the anonymous user, guest user, and any real users (that is, those who have their own user accounts on the Linux system). Both uploads (inbound) and downloads (outbound) transfers are logged. shutdown /etc/shutmsg This checks the /etc/shutmsg file to see if the server is about to be shut down. If it is, your FTP server sends a message to current FTP users, warning them that the server is about to go down. It also denies new FTP connections and disconnects current users at a specified time prior to shutdown. (By default, the /etc/shutmsg file does not exist.) See the section on setting up FTP shutdowns later in this chapter for information on how to set up a shutdown file for scheduled FTP shutdowns. passwd-check rfc822 warn This checks that passwords for anonymous logins are rfc822-compliant addresses. In other words, the FTP server asks for any valid e-mail address as the password for the anonymous login. If the address is not compliant (that is, is not in the form user@host.domain), the server will “warn” the user but still allow the user to log in. FTP Root Directory For a user who logs in as an anonymous user, the /var/ftp directory is assigned as the user s root directory. In other words, the anonymous user could not cd above the /var/ftp directory (or even know what files exist outside the /var/ftp directory structure). Within the /var/ftp directory are those directories and files necessary to make FTP work properly, without your having to access other files in the file system. The /bin directory contains executable commands that FTP may need (such as compress, ls, and gzip). The /etc directory contains passwd and group entries. The /lib directory holds shared object libraries needed by FTP. Finally, the /pub directory is available for placing the files that you want to be generally available to anonymous users. Note Previous to Red Hat Linux 7, the location of the FTP home directory was /home/ftp. Because administrators often shared /home directories across a group of computers so users could have access to their files from different computers, it was not useful to share the FTP home directory in this way. The FTP home directory is now /var/ftp. The home directory for your Web server (www directory) has also been moved to /var. Creating FTP Users The different types of users who can use the FTP services from your server include the anonymous user name, any of the real users who have been added to your computer (in /etc/passwd), and any special guest accounts that you set up. The following sections describe each of these types of users and how to set them up.
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.