I then get an error message rcmd: socket: permission denied
Iknow its something to do with groups or someother dark magic
jim simpson
Check TA 107330 and a couple of others on this problem.
--
JP
The TAs still live at http://stage.caldera.com/ta
--
JP
dazed and confused
Jim Simpson
"Jean-Pierre Radley" <j...@jpr.com> wrote in message
news:20020415203...@jpradley.jpr.com...
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