I've been trying on and off for ages to get rexec to work on RH6.0 and
have decided it's time I got it going once and for all.
Here's what I've done so far:
rexec -d -l danb -p passwd 192.168.1.10 ls
gives ...
rexec: Host = 192.168.1.10
rexec: Command to execute = ls
and then nothing when aimed at a RH6 machine, I've given it several
minutes to think about things too. When pointed at an IBM I get a nice ls
output.
So, on the RH6 box I've checked /etc/services, it's got a line
exec 512/tcp
in it which I guess is rexec on port 512
and in /etc/inetd.conf I've got
exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
(I took the # out from before the line and did a killall -HUP inetd)
/etc/hosts.deny is empty, I've tried adding ALL: ALL to /etc/hosts.allow
on the server - just to see if I could get in. I wasn't too sure on the
syntax for just rexec on one machine so I tried to allow anything from
anywhere.
the message log on the server gives:
Mar 19 10:55:10 Portal in.rexecd[26551]: connect from 2nics
and nothing after this message, Portal being the server of course, and
2nics being the remote machine.
I guess it's security somewhere that's catching me out - all suggestions
welcome.
Thanks,
Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs