Installing and Administering Internet Services

50 Chapter2
Installing and Configuring Internet Services
Configuring ftp with /etc/ftpd/ftpaccess
Configuring ftp with /etc/ftpd/ftpaccess
The /etc/ftpd/ftpaccess configuration file is the primary
configuration file for defining how the ftpd daemon operates. The
/etc/ftpd/ftpaccess file allows you to configure a wide variety of ftp
features, such as the number of ftp login tries permitted, ftp banner
displays, logging of incoming and outgoing file transfers, access
permissions, use of regular expressions, etc. (For complete details on this
file, see the ftpaccess (4) manpage.)
Enabling/Disabling the ftpaccess File
To enable the /etc/ftpd/ftpaccess file, specify the -a option for the
ftp entry in the /etc/inetd.conf file. For example,
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l -d
To disable the /etc/ftpd/ftpaccess file, specify the -A option for the ftp
entry in the /etc/inetd.conf file. For example,
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -A -l -d