Go to main content

Managing Remote Systems in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020

How to Change the ProFTPD Configuration

Most configuration variations are made by making changes to the /etc/proftpd.conf file. Use the following steps when making changes to this file.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Make changes to the configuration file.

    See the examples below for suggestions about what information to add to the configuration file.

  3. Restart the FTP server.
    # svcadm restart network/ftp
Example 1  ProFTPD Configuration File Changes for a Virtual Host

For a virtual host that is using a fixed IP address, use the following directive. You may add multiple IP addresses separated by spaces if needed.

  ServerName "My virtual FTP server"
Example 2  ProFTPD Configuration File Changes for Anonymous Access

To provide anonymous ftp access to your site, use these directives:

# Deny login access
  <Limit LOGIN>

  <Anonymous ~ftp>

# Allow anonymous logins
    <Limit LOGIN>
    </Limit> ....