HP-UX Remote Access Services Administrator's Guide

You can set the default Kerberos options in the configuration file /etc/krb5.conf.
You can set the -f and -F options with the tag names forward and forwardable,
respectively, and set the fallback option within the appdefaults section in the
/etc/krb5.conf file. If you set the fallback option to true and the Kerberos
authentication fails, rcp uses the non-secure mode of authentication. The -f and -F
options are mutually exclusive. For more information, type man 4 krb5.conf at the
HP-UX prompt.
The rcp Command Options and Arguments
Table 1-2 describes the rcp options and arguments.
Table 1-2 rcp Options and Arguments
DescriptionOption
This option specifies the name of an existing file or directory on a local
or remote machine to be copied to a specific destination.
source_file, source_dir
This option specifies the name of the destination directory.
dest_dir
If you specify a combination of files and directories for copying, then
only files are copied unless you specify the -r option. If the -r option
exits, then all the files and directory subtrees whose names match the
specified file_or_dir name are copied.
file_or_dir
This option is used to obtain tickets from the remote host in the
specified realm instead of in the remote host’s default realm, as
specified in the configuration file krb.realms. This option is
applicable only in a secure environment based on Kerberos V5.
-k realm
This option disables Kerberos authentication. If the remote host is
configured to prevent non-secure access, using this option results in
the following generic error:
krcmd: connect: hostname: Connection
refused.
This option is applicable only in a secure environment based on
Kerberos V5.
-P
This option preserves (duplicate) modification times and modes
(permissions) of source files, ignoring the current setting of the umask
file creation mode mask.
-p
This option sets the size of the socket send buffer.
-S size
This option sets the size of the socket receive buffer.
-R size
This option is used to recursively copy directory subtrees rooted at the
source directory name.
-r
For detailed information on rcp, type man 1 rcp at the HP-UX prompt.
R-Commands 23