<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using rcp commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483341#M799028</link>
    <description>You will need to either set up a .rhosts (man rhosts) file, in the users home directory, for each user that will need to use rcp or set up /etc/hosts.equiv (man hosts.equiv)  If they are going to be executing rcp on the HP box going to SCO, then .rhosts or /etc/hosts.equiv will have to be defined on the SCO box.&lt;BR /&gt;&lt;BR /&gt;If they are going to be executing rcp, or similar command, on the SCO box, then .rhosts or /etc/hosts.equiv will have to be set up on the HP box.</description>
    <pubDate>Tue, 16 Jan 2001 22:36:17 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2001-01-16T22:36:17Z</dc:date>
    <item>
      <title>using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483340#M799027</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have an SCO/Unix Box and HP-UX box I would like to do remote copies. What are the steps that I should take, so it can work?&lt;BR /&gt;&lt;BR /&gt;Thanks Juan</description>
      <pubDate>Tue, 16 Jan 2001 22:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483340#M799027</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-16T22:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483341#M799028</link>
      <description>You will need to either set up a .rhosts (man rhosts) file, in the users home directory, for each user that will need to use rcp or set up /etc/hosts.equiv (man hosts.equiv)  If they are going to be executing rcp on the HP box going to SCO, then .rhosts or /etc/hosts.equiv will have to be defined on the SCO box.&lt;BR /&gt;&lt;BR /&gt;If they are going to be executing rcp, or similar command, on the SCO box, then .rhosts or /etc/hosts.equiv will have to be set up on the HP box.</description>
      <pubDate>Tue, 16 Jan 2001 22:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483341#M799028</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-16T22:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483342#M799029</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You need to setup an /etc/hosts.equiv or  $HOME/.rhosts file.  See the man pages for the following:&lt;BR /&gt;&lt;BR /&gt;# man 4 hosts.equiv&lt;BR /&gt;# man rcp&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 16 Jan 2001 22:38:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483342#M799029</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-16T22:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483343#M799030</link>
      <description>I created the .rhosts and even hosts.equiv&lt;BR /&gt;and I get the following error :&lt;BR /&gt;&lt;BR /&gt;remshd: Login incorrect.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jan 2001 22:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483343#M799030</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-16T22:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483344#M799031</link>
      <description>I'm on my SCO/Unix Box and I want to rerieve a file from my HP-UX Box everytime I execute a specific script on my SCO/Unix Box.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jan 2001 22:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483344#M799031</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-16T22:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483345#M799032</link>
      <description>Make sure that the hostname is fully qualified in your .rhosts or hosts.equiv.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;host&lt;BR /&gt;host.domain.org&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I include hostname and the host.domain.org in my files.  I had the same problem at one point and adding the fully qualified host.domain.org fixed the problem for me.</description>
      <pubDate>Tue, 16 Jan 2001 23:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483345#M799032</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-16T23:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483346#M799033</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the SCO box is where the rcp command is issued, it is the HP box that will have to have the .rhosts file.  Some things to check:&lt;BR /&gt;&lt;BR /&gt;Make sure that the accounts on both boxes have the exact same login name.&lt;BR /&gt;&lt;BR /&gt;Check the /etc/inetd.conf file on the hp box for the following entry: shell stream tcp nowait root /usr/lbin/remshd remshd.  Make sure that there is NOT a -l option after remshd and that the line is not commented out.&lt;BR /&gt;&lt;BR /&gt;Verify that the /var/adm/inetd.sec file on the HP box does not disallow the shell service from the SCO box.&lt;BR /&gt;&lt;BR /&gt;Ensure that there is a shell entry in the /etc/services file on the HP box.  (I don't know what the port number should be - I'm on a windows machine and can't look it up.)&lt;BR /&gt;&lt;BR /&gt;Read the remshd(1m) man page.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Wed, 17 Jan 2001 03:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483346#M799033</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-01-17T03:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483347#M799034</link>
      <description>Hi,&lt;BR /&gt;As Bruce mentionned, the .rhosts should be on the HP box, I just tried to rcp on an SCO a file from an HP...&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 17 Jan 2001 12:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483347#M799034</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-01-17T12:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483348#M799035</link>
      <description>Everyting works fine, only with "root" how can I make this work with a user named "juan".&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2001 13:14:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483348#M799035</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-17T13:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483349#M799036</link>
      <description>one thing to check is juan's .rhosts file should have permissions of r-- --- --- i.e. chmod 400 ./.rhosts&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2001 14:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483349#M799036</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2001-01-17T14:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483350#M799037</link>
      <description>juan's .rhosts file permissions of rw- r-- r-- &lt;BR /&gt;so that not the problem</description>
      <pubDate>Wed, 17 Jan 2001 14:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483350#M799037</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-17T14:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483351#M799038</link>
      <description>Is the ~/.rhosts file on the HP box for the user juan in that users home directory?  The user juan does exist on the HP box and the SCO box?  &lt;BR /&gt;&lt;BR /&gt;The permissions of the ~/.rhosts file really should be READ ONLY for the owner of the file.  Having that file so that it is readable by the group and world is a major security no-no.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2001 15:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483351#M799038</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-17T15:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483352#M799039</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;If you are sure that juan's .rhosts file is correctly configured and that the permissions are correct, check the remshd entry in /etc/inetd.conf.  If remshd is invoked with a -l option, only root will be allowed to use .rhosts - juan will not.&lt;BR /&gt;&lt;BR /&gt;You may want to also see if the following works:  replace the contents of juan's .rhosts file with two plus signs - + +.  This will set up equivalency for everyone from any host.  If you can log in, then it is not an inetd.conf problem.  If you can't, check inetd.conf and /var/adm/inetd.sec.&lt;BR /&gt;&lt;BR /&gt;Don't forget to remove the + + from .rhosts since it is a major security hole; ANYONE will be able to login to juan's account without a password.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Wed, 17 Jan 2001 15:18:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483352#M799039</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-01-17T15:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483353#M799040</link>
      <description>you might try:&lt;BR /&gt;rcp juan@remotehost:/path /localpath</description>
      <pubDate>Wed, 17 Jan 2001 20:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483353#M799040</guid>
      <dc:creator>David McMullen_1</dc:creator>
      <dc:date>2001-01-17T20:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: using rcp commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483354#M799041</link>
      <description>Juan, you said:"juan's .rhosts file permissions of rw- r-- r-- &lt;BR /&gt;so that not the problem "&lt;BR /&gt;...Well rw- r-- r-- does not equal r-- --- ---.&lt;BR /&gt;I could never get the bugger to work until it was r-- --- ---.  That's up to you.  I'm probably not reading your response right.  But, I would take the whole 10 seconds to change the mode of the file and try it. (I'm scratching my head at this time).</description>
      <pubDate>Wed, 17 Jan 2001 21:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-rcp-commands/m-p/2483354#M799041</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2001-01-17T21:09:05Z</dc:date>
    </item>
  </channel>
</rss>

