Re: Copying files over the Network
From: Vipin Khushu - SuSe (vkhushu_at_GUERNSEYOP.COM)
Date: 09/01/04
- Previous message: Wesley Joyce: "Re: AIX 5.2 / ksh - command line completion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 1 Sep 2004 13:35:23 -0400 To: aix-l@Princeton.EDU
Mark / Joe:
Thanks for the responses. I had previously taken the time to read the appropriate stanzas in the commands documentation relating to Permissions (600) and command behavior when using root.
Joe, you surmised correctly that I am using root. I had therefore updated the .rhosts file appropriately, or so I thought.
Mark, your recommendation to use who am i proved to be the key to the issue. I had previously updated the .rhosts file with just the hostname. But when I updated it with hostname.domain.com, the command immediately worked.
Many thanks to you both.
Vipin-
Standard reasons for this error.
1. permissions on the .rhosts file. chmod 600 .rhosts
2. dns - telnet from the source to the target machine and login. Run:
who am i
and see what hostname the machine thinks you are coming from. Put that entry in
..rhosts
Mark Hunter
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
JOSEPH KREMBLAS
Sent: Saturday, August 28, 2004 2:31 PM
To: aix-l@Princeton.EDU
Subject: Re: Copying files over the Network
Saturday, August 28, 2004 A.D.
Hi, Vipin,
"Flummoxed?" Nice choice of words :) I had to look this one up
in the dictionary--which means confounded or confused. It appears on its
face that you are using root. As such, when using RCP or RSH as root,
the /etc/hosts.equiv file IS NOT check; instead, authentication for root
is passed to the $HOME/.rhosts file.
Some Notes.--If an /etc/hosts.equiv file does not exist on the
TARGET system, or does exist but does not authorize the USER on the
remote system, then the $HOME/.rhosts file will be looked at for USER
AUTHENTICATION. Make sure that the permissions on the $HOME/.rhosts
file are set correctly, otherwise the authentication process
fails--quite miserably at that. The "permissions" rule applies equally
to the /etc/hosts.equiv file as well. I'll leave it at this and allow
you to research this yourself. If you are still flummoxed, please
advise.
I hope this helps.
Best wishes,
Joseph Kremblas
IBM Certified Advanced Technical Expert--RS/6000 AIX
IBM Certified Specialist--pSeries AIX 5L Systems Support
IBM Certified Specialist--pSeries AIX 5L Systems Administration
IBM Certified Specialist--RS/6000 SP and PSSP
IBM Certified Solutions Expert--WebSphere MQ/MQSeries
IBM Certified Specialist--WebSphere MQ/MQSeries
Phone: (623) 877-5722
"Doubt is a pain too lonely to know that faith is his twin
brother."
All Rights Reserved.
- Previous message: Wesley Joyce: "Re: AIX 5.2 / ksh - command line completion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|