Re: Copying files over the Network

From: Vipin Khushu - SuSe (vkhushu_at_GUERNSEYOP.COM)
Date: 09/01/04

  • Next message: Vipin Khushu - SuSe: "Access to F50 without login information"
    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.


  • Next message: Vipin Khushu - SuSe: "Access to F50 without login information"

    Relevant Pages

    • Re: Copying files over the Network
      ... As such, when using RCP or RSH as root, ... Make sure that the permissions on the $HOME/.rhosts ... When I attempt Simon's tar command or Mark Ray's rcp ...
      (AIX-L)
    • Re: Sharing complete HD?
      ... Command-line is easy - we can just tell you the command to type. ... To solve your problem via GUI, we need to know exactly what you have installed, and what you are using to manage Samba from the Linux side. ... The chmod thing that people are suggesting, is just to change the permissions on the directory that you are sharing. ... In order to do this you will probably need to have root authority - so either drive the UI as root, or use some feature of the UI to change to root for this operation. ...
      (uk.comp.os.linux)
    • Re: [PHP] scandir() in automount/autofs
      ... the $util object is not actually running the command but it is inserting the ... It means the command in $util->run_commandis executing with root ... I'm pretty sure it is because of the permissions on the mounted usb ...
      (php.general)
    • Program runs for "root", not for regular user
      ... fine when I'm "root", but gets a "command not found" error when I run it as ... I'm guessing it's a permissions error or something. ... As a regular user, if I ... type just the executable name "komodo", I get a "command not found" error. ...
      (comp.os.linux.misc)
    • Re: Apple recommending anti-virus software for Macs?
      ... > To be ultra-safe with the 'rm' command, ... Not a bad idea for root, It would drive me nuts in my user account. ... downloads directory and executing it. ... That I type an EOF is a trivial difference versus 'sudo' exiting ...
      (comp.sys.mac.system)