Red Hat Bugzilla – Bug 144437
rcp -PO option is not working
Last modified: 2007-11-30 17:10:57 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.
-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):
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.
I use -P0 (zero) and -PO (O) to proof if my syntax is wrong. But both
options did not work.
Sure, the man page is for kerberosized "rsh" version but you run
classic "rsh" without kerberos support.
usage: rsh host [ -PN / -PO ] [ -l login ] [ -n ] [ -x ] [ -f / -F]
OR rsh [ -PN / -PO ] [ -l login ] [-n ] [ -x ] [ -f / -F ] host
usage: rsh [-nd] [-l login] host [command]
You need to install krb5-workstation rpm package.