Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Remote Access Services Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 2 Configuring FTP

FTP Configuration Files

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

FTP contains the following configuration files:

  • /etc/ftpd/ftpconversions

  • /etc/ftpd/ftphosts

  • /etc/ftpd/ftpusers

  • /etc/ftpd/ftpgroups

These configuration files are described in the subsequent sections.

The /etc/ftpd/ftpconversions Configuration File

The /etc/ftpd/ftpconversions configuration file defines options for the following operations:

  • Compression and uncompression

  • Tar and untar operations

A sample ftpconversions file exists in the /usr/newconfig/etc/ftpd/examples directory. You can edit this file and copy it to the /etc/ftpd directory.

The /etc/ftpd/ftpconversions file allows you to configure the FTP server so that when a user specifies a file name (using a get command), the compression and tar operations occur automatically. Table 2-1 shows compression and tar operations.

Table 2-1 Compression and Tar Operations

True File NameSpecified File NameAction
<filename>.Z<filename>Uncompresses file before transmitting.
<filename><filename>.ZCompresses <filename> before transmitting.
<filename><filename>.tarTars <filename> before transmitting.

<filename>

<filename>.tar.Z

Tars and compresses <filename> before transmitting.

 

Enabling or Disabling Tar and Compression

To enable or disable tar and compression, you can specify either yes or no with the tar and compress keywords in the /etc/ftpd/ftpaccess file. The default value is yes, which enables tar and compression. For more information, type man 4 ftpconversions at the HP-UX prompt.

The ftphosts Configuration File

You can use the /etc/ftpd/ftphosts configuration file to deny or allow access to certain accounts from various hosts.

A sample ftphosts file exists in the /usr/newconfig/etc/ftpd/examples directory. You can copy this file to the /etc/ftpd directory and edit the file accordingly. For more information, type man 4 ftphosts at the HP-UX prompt.

The ftpusers Configuration File

The /etc/ftpd/ftpusers configuration file defines security for the ftp daemon. ftpd rejects login connections to local user accounts that are specified in the /etc/ftpd/ftpusers file.

When you install the HP-UX 11i v2 operating system, the /usr/bin/ckconfigutility determines if the /etc/ftpusers file exists from a previous version of FTP. If an ftpusers file already exists in the /etc directory, then a link is created from the /etc/ftpd/ftpusers file to the /etc/ftpusers file. If the /etc/ftpusers file does not exist, then it is created in the /etc/ftpd directory. For more information, type man 4 ftpusers at the HP-UX prompt.

The ftpgroups Configuration File

The /etc/ftpd/ftpgroups file is the group password file used with the SITE GROUP and SITE GPASS commands. A sample file exists in the /usr/newconfig/etc/ftpd/examples directory. You can edit this file and copy it to the /etc/ftpd directory.

The administrative utility, /usr/bin/privatepw, is used to update the group access file information in /etc/ftpd/ftpgroups. The administrator can add, delete, and list enhanced access group information required for the commands SITE GROUP and SITE GPASS. The /usr/bin/privatepw command requires read and write permission for the appropriate ftpgroups file to modify the access group information. For more information, type man 4 ftpgroups at the HP-UX prompt.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.