Configuring Your FTP Server

Although the default configuration of the FTP server is reasonably secure, you can fine-tune access rights by editing the following files:

  • /etc/ftpaccess

  • /etc/ftpconversions

  • /etc/ftphosts

  • /var/log/xferlog

With all these files, you can control who connects to your server, when they can connect, and where they can connect from. For security, you can create an audit trail of what they do after connecting. The ftpaccess file is the most significant of these because it contains the most configuration options; however, misconfiguring any of the others can lead to denied service.

Tip

When editing any of the files in the /etc directory (FTP related or not), comment the file liberally and keep backups of original or previously ...

Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.