BSD 4_4 development
[unix-history] / usr / share / man / cat1 / rcp.0
index 762418b..478cdab 100644 (file)
@@ -1,31 +1,36 @@
-RCP(1)                     UNIX Reference Manual                       RCP(1)
+RCP(1)                       BSD Reference Manual                       RCP(1)
 
 N\bNA\bAM\bME\bE
      r\brc\bcp\bp - remote file copy
 
 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
 
 N\bNA\bAM\bME\bE
      r\brc\bcp\bp - remote file copy
 
 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
-     r\brc\bcp\bp [-\b-p\bp] [-\b-k\bk _\br_\be_\ba_\bl_\bm] _\bf_\bi_\bl_\be_\b1 _\bf_\bi_\bl_\be_\b2
-     r\brc\bcp\bp [-\b-p\bp] [-\b-r\br] [-\b-k\bk _\br_\be_\ba_\bl_\bm] _\bf_\bi_\bl_\be ...     _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by
+     r\brc\bcp\bp [-\b-K\bKp\bpx\bx] [-\b-k\bk _\br_\be_\ba_\bl_\bm] _\bf_\bi_\bl_\be_\b1 _\bf_\bi_\bl_\be_\b2
+     r\brc\bcp\bp [-\b-K\bKp\bpr\brx\bx] [-\b-k\bk _\br_\be_\ba_\bl_\bm] _\bf_\bi_\bl_\be _\b._\b._\b. _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      R\bRc\bcp\bp copies files between machines.  Each _\bf_\bi_\bl_\be or _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by argument is
      either a remote file name of the form ``rname@rhost:path'', or a local
      file name (containing no `:' characters, or a `/' before any `:'s).
 
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      R\bRc\bcp\bp copies files between machines.  Each _\bf_\bi_\bl_\be or _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by argument is
      either a remote file name of the form ``rname@rhost:path'', or a local
      file name (containing no `:' characters, or a `/' before any `:'s).
 
-     -\b-r\br        If any of the source files are directories, r\brc\bcp\bp copies each
-              subtree rooted at that name; in this case the destination must
-              be a directory.
+     -\b-K\bK    The -\b-K\bK option turns off all Kerberos authentication.
 
 
-     -\b-p\bp        The -\b-p\bp option causes r\brc\bcp\bp to attempt to preserve (duplicate) in
-              its copies the modification times and modes of the source
-              files, ignoring the _\bu_\bm_\ba_\bs_\bk.  By default, the mode and owner of
-              _\bf_\bi_\bl_\be_\b2 are preserved if it already existed; otherwise the mode
-              of the source file modified by the umask(2) on the destination
-              host is used.
+     -\b-k\bk    The -\b-k\bk option requests r\brc\bcp\bp to obtain tickets for the remote host in
+           realm _\br_\be_\ba_\bl_\bm instead of the remote host's realm as determined by
+           krb_realmofhost(3).
 
 
-     -\b-k\bk        The -\b-k\bk option requests r\brc\bcp\bp to obtain tickets for the remote
-              host in realm _\br_\be_\ba_\bl_\bm instead of the remote host's realm as
-              determined by krb_realmofhost(3).
+     -\b-p\bp    The -\b-p\bp option causes r\brc\bcp\bp to attempt to preserve (duplicate) in its
+           copies the modification times and modes of the source files, ignor-
+           ing the _\bu_\bm_\ba_\bs_\bk. By default, the mode and owner of _\bf_\bi_\bl_\be_\b2 are pre-
+           served if it already existed; otherwise the mode of the source file
+           modified by the umask(2) on the destination host is used.
+
+     -\b-r\br    If any of the source files are directories, r\brc\bcp\bp copies each subtree
+           rooted at that name; in this case the destination must be a direc-
+           tory.
+
+     -\b-x\bx    The -\b-x\bx option turns on DES encryption for all data passed by r\brc\bcp\bp.
+           This may impact response time and CPU utilization, but provides in-
+           creased security.
 
      If _\bp_\ba_\bt_\bh is not a full path name, it is interpreted relative to the login
      directory of the specified user _\br_\bu_\bs_\be_\br on _\br_\bh_\bo_\bs_\bt, or your current user name
 
      If _\bp_\ba_\bt_\bh is not a full path name, it is interpreted relative to the login
      directory of the specified user _\br_\bu_\bs_\be_\br on _\br_\bh_\bo_\bs_\bt, or your current user name
@@ -34,25 +39,27 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      remotely.
 
      R\bRc\bcp\bp does not prompt for passwords; it performs remote execution via
      remotely.
 
      R\bRc\bcp\bp does not prompt for passwords; it performs remote execution via
-     rsh(1), and requires the same authorization.
+     rsh(1),  and requires the same authorization.
 
      R\bRc\bcp\bp handles third party copies, where neither source nor target files are
      on the current machine.
 
 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
 
      R\bRc\bcp\bp handles third party copies, where neither source nor target files are
      on the current machine.
 
 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
-     cp(1), ftp(1), rsh(1), rlogin(1)
+     cp(1),  ftp(1),  rsh(1),  rlogin(1)
 
 H\bHI\bIS\bST\bTO\bOR\bRY\bY
 
 H\bHI\bIS\bST\bTO\bOR\bRY\bY
-     R\bRc\bcp\bp appeared in 4.2 BSD.  The version of rcp described here has been
-     reimplemented with Kerberos in 4.3+Reno BSD.
+     The r\brc\bcp\bp command appeared in 4.2BSD. The version of r\brc\bcp\bp described here has
+     been reimplemented with Kerberos in 4.3BSD-Reno.
 
 B\bBU\bUG\bGS\bS
      Doesn't detect all cases where the target of a copy might be a file in
      cases where only a directory should be legal.
 
 
 B\bBU\bUG\bGS\bS
      Doesn't detect all cases where the target of a copy might be a file in
      cases where only a directory should be legal.
 
-     Is confused by any output generated by commands in a ._\bl_\bo_\bg_\bi_\bn, ._\bp_\br_\bo_\bf_\bi_\bl_\be, or
-     ._\bc_\bs_\bh_\br_\bc file on the remote host.
+     Is confused by any output generated by commands in a _\b._\bl_\bo_\bg_\bi_\bn, _\b._\bp_\br_\bo_\bf_\bi_\bl_\be, or
+     _\b._\bc_\bs_\bh_\br_\bc file on the remote host.
 
      The destination user and hostname may have to be specified as
      ``rhost.rname'' when the destination machine is running the 4.2BSD ver-
      sion of r\brc\bcp\bp.
 
      The destination user and hostname may have to be specified as
      ``rhost.rname'' when the destination machine is running the 4.2BSD ver-
      sion of r\brc\bcp\bp.
+
+4.3-Reno Berkeley Distribution   May 31, 1993                                1