
Common Configuration
# P0602477 Ver: 3.1.11 Page 241
Automatic Startup
To have VFTPD automatically start up with other VOS processes, make an entry for
the daemon in the $MPSHOME/common/etc/gen.cfg file using appropriate
command line arguments (see “vftpd” on page 240). For example:
This entry starts VFTPD on MPS number 1 and allocates 2 FTP processes for
on-demand connections.
Automatic FTP Logins
The .netrc file contains the data necessary for logging into remote hosts across the
network for performing FTP file transfers. In order to automate FTP logins, the
.netrc file must be modified to contain an entry for each configured host that
supports FTP connections.
Each entry requires the following fields. An example follows.
The .netrc file resides in the user's home directory on the node originating the file
transfer requests. For example, if VFTPD is run under the user name peri, then the
.netrc file should exist in the /home/peri directory. If the file does not exist, it
must be created.
For additional information about this file, refer to the Solaris netrc man page.
#NAME PRI COMMAND LINE
vftpd 0 "vftpd -v1 -n2"
Field Description
machine Identifies a remote node. The auto-login process searches the .netrc
file for a node name that matches that of the remote machine specified on
the FTP command line or as a command line argument. Once a match is
made, the subsequent .netrc tokens are processed. This process stops
when the end of the file is reached or another machine name is
encountered.
login Identifies a user on the specified node. The auto-login process initiates a
login using the specified name.
password Supplies the password for the specified user name. The auto-login
process supplies the password as part of the login process.
Sample .netrc file
machine raven login peri password peri;
machine robin login peri password peri;
machine hawk login root password root;
machine eagle login root password root;
Comentarios a estos manuales