Bug 144437 - rcp -PO option is not working
rcp -PO option is not working
Product: Fedora
Classification: Fedora
Component: rsh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2005-01-06 19:21 EST by Reiner Voigt
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-14 10:13:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Reiner Voigt 2005-01-06 19:21:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.5)

Description of problem:
Option to use old kerberos version (-PO) is not working.
Option for new kerberos version (-PN) works fine.

man rcp:


       -PO    Explicitly request new or old version of the Kerberos
��rcmd�� protocol.   The  new  protocol
              avoids  many  security  problems  found  in  the old
one, but is not interoperable with older
              servers.  (An "input/output error" and a closed
connection  is  the  most  likely  result  of
              attempting  this  combination.)   If  neither option is
specified, some simple heuristics are
              used to guess which to try.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rcp -PO -r <remote_host>:/<remote_fs> /tmp

Actual Results:  rcp: invalid option -- P

Expected Results:  remote copy from remote host to local fs.

Additional info:

I use -P0 (zero) and -PO (O) to proof if my syntax is wrong. But both
options did not work.
Comment 1 Karel Zak 2005-01-07 03:34:13 EST
Sure, the man page is for kerberosized "rsh" version but you run
classic "rsh" without kerberos support.


$ /usr/kerberos/bin/rsh
usage:  rsh host [ -PN / -PO ] [ -l login ] [ -n ] [ -x ] [ -f / -F]
OR      rsh [ -PN / -PO ] [ -l login ] [-n ] [ -x ] [ -f / -F ] host

$ /usr/bin/rsh
usage: rsh [-nd] [-l login] host [command]

You need to install krb5-workstation rpm package.

Note You need to log in before you can comment on or make changes to this bug.