Does anyone know how to get rexecd running on RedHat 6.0?
I've seen many postings by people who are having trouble with
this feature, but fewer answers. So I would really appreciate
Anyway, I have a machine running RedHat 6.0. I'm trying to
run a command in that machine using rexec on an NT box. No success
so far. After I type in the password, there is a delay of a couple
of seconds. Then the following appears in /var/log/messages on
the Linux box:
Jan 12 15:25:24 linux in.rexecd: connect from dev6
dev6 is the NT box. DNS is not in use, so I have dev6 listed
tcpd should not be the problem, since /etc/hosts.allow and
/etc/hosts.deny are empty. (And yeah, the machine is not connected
to the Internet...)
I know that in RedHat 6.0 (and 6.1) rexec is disabled by PAM by default.
One should be able to enable it by uncommenting the "pam_nologin.so"
line in /etc/pam.d/rexec. I have done just that.
Anyway, to me it looks like the problem is not with tcpd or
PAM. Am I right in thinking that the log message is output by
in.rexecd? For some reason it just can't get its work done!
To investigate further, I wrote some java to encode and send the
rexec request myself. After the log message appears, my java
program receives an End-Of-File from the socket.
As said, any pointers or ideas would be very much appreciated.
Sent via Deja.com http://www.deja.com/
Before you buy.