APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

rcp rcmd

You also need to realize that any names you put in .rhosts or hosts.equiv have to match what the system sees. Check by pinging the ip of the other site to see how it is resolved.

From: Greg M Lee <greg@ncs.co.nz>
Subject: Re: rcp error
References: <_LBu8.5$_d7.2181@news-binary.blueyonder.co.uk>
<egRu8.7748$_d7.466815@news-binary.blueyonder.co.uk> Date: Wed, 17 Apr 2002 13:39:13 +1200 Jim Simpson wrote: > > I have read the TA's still no joy > if I login as user and type in command > rlogin hostname > it logs me in as same user on local machine so I am I right to think the > problem is with the copy bit of rcp rather than the rlogin bit > > dazed and confused > Jim Simpson > > "Jean-Pierre Radley" <jpr@jpr.com> wrote in message > news:20020415203033.GL16477@jpradley.jpr.com... > > Jim Simpson propounded (on Mon, Apr 15, 2002 at 08:37:36PM +0100): > > | "Jean-Pierre Radley" <jpr@jpr.com> wrote in message > > | news:20020415172950.GG16477@jpradley.jpr.com... > > | > Jim Simpson propounded (on Mon, Apr 15, 2002 at 03:50:18PM +0100): > > | > | I am running openserver5 > > | > | a user runs a script that contains rcp -r etc etc > > | > | > > | > | I then get an error message rcmd: socket: permission denied > > | > | > > | > | Iknow its something to do with groups or someother dark magic > > | > > > | > Check TA 107330 and a couple of others on this problem. > > | > > | TA ? what where ? > > > > The TAs still live at http://stage.sco.com/ta Mmmm, rcp, and rcmd both use the shell port, whilst rlogin uses the login port. /etc/services should have lines like: login 513/tcp shell 514/tcp cmd # no passwords used and /etc/inetd.conf should have lines like: shell stream tcp nowait NOLUID /etc/rshd rshd login stream tcp nowait NOLUID /etc/rlogind rlogind

Does running  'rcmd hostname who'  work ?
If so then does  'rcmd hostname "cat file" >file'  work ?
If so then you should be able to use something like:
  rcmd hostname "find files -print | cpio -oC 1024" | cpio -ivumdC 1024

If none of the above work then go back to the TA but also repeat the 
chmod commands for /usr/bin/rcp and /usr/bin/rcmd.  In particular
  # chown root:bin /usr/bin/rlogin /usr/bin/rcmd /usr/bin/rcp
  # chmod 4711 /usr/bin/rlogin /usr/bin/rcmd /usr/bin/rcp


Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> rcp rcmd ––>Re: rcp error

Increase ad revenue 50-250% with Ezoic

Kerio Connect Mailserver

Kerio Samepage

Kerio Control Firewall

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Your computer needn't be the first thing your see in the morning and the last thing you see at night. (Simon Mainwaring)

This post tagged: