System Administration Guide: Network Services

ProcedureHow to Set Up Anonymous FTP Users

The ftpconfig script creates the anonymous user account and populates the home directory with the required files.

For more information, see ftpconfig(1M).

To enable access by an anonymous user to the FTP server, follow these instructions:

  1. Use the ftpconfig script to create the anonymous user account.


    /usr/sbin/ftpconfig anonymous-ftp-directory
    
  2. Confirm that the anonymous user is assigned to a class in the ftpaccess file.

    See How to Define FTP Server Classes for further information.


Example 28–7 Setting Up Anonymous FTP Users

In this example, the FTP area is set up in the /home/ftp directory.


# /usr/sbin/ftpconfig /home/ftp
Creating user ftp
Updating directory /home/ftp