Solaris ISP Server 2.0 Reference Guide

1.3.4 Delete an FTP Site

Removal of an FTP virtual host depends on the type of subscriber authentication; and whether or not the virtual host is also serving as a web hosting site.

The following procedure uses the examples:

  1. Remove the FTP virtual host entry from /etc/inet/ftpservers. For example, you would delete the line myVH.org /etc/inet/myVH.org/ftpaccess.

  2. If this is an FTP-only virtual host:

    1. Remove the FTP virtual host entry from /etc/inet/hosts. For example, you would delete the line containing myVH.org from /etc/inet/hosts.

    2. Remove the virtual host chroot directory; in this example, /export/home/myVH.org.

  3. If this is an FTP/web site host:

    1. Change directory to the virtual host chroot directory, in this example /export/home/myVH.org.

    2. Remove the file Welcome, and remove the following directories only if they do not contain web data:dev/, etc/, pub/, usr/, and var/.

  4. Remove the FTP virtual host entries from LDAP using Deja, or via the command line as described by ldapdelete(1m).