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 <email@example.com> Subject: Re: rcp error References: <_LBu8.firstname.lastname@example.org>
<egRu8.email@example.com> 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" <firstname.lastname@example.org> 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" <email@example.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 Cheers -Greg
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic