pjohns
10th December 2007, 13:38
Hello,

Due to issues with remote users connecting to our Baan system we want to disable reverse dns lookup for the REXEC protocol.

We have done this on our HPUX server by changing the /etc/inetd.conf file as below -

exec stream tcp nowait root /usr/lbin/rexecd rexecd -s

But we cannot find the equivilent file on Redhat Linux. Can anybody help?

I have searched Baanboard and can only find a similar issue on AIX.

Thanks

PJ

Juergen
10th December 2007, 14:24
Hi PJ,

never worked with Redhat but Redhat Linux 7.0 started using xinetd instead of inetd along with different file structures. Check /etc/xinetd.conf and the files in /etc/xinetd.d

Rgds,
Juergen

pjohns
10th December 2007, 16:03
Thanks Juergen,

A change was requried in the /etc/xinetd.d/rexec file.

We needed to add a server_arg of -D.

We knew that -D was the flag to use but just didn't know where to put it.

Thanks for your help.

PJ

Markus Schmitz
11th December 2007, 14:21
Also as a followup, if you configure your baan gui clients to use the baan login protocoll instead of rexec, then the whole topic becomes non relevant anyway.

Regards

Markus

mig28mx
26th February 2009, 18:15
Hello PJOHNS,
I´m facing similar problem.
Do you were success on adding the -D parammeter to rexec?
I´m on Red Hat.

Thank you in advance.

pjohns
26th February 2009, 18:21
Yes the -D option worked for us.

{
disable = no
socket_type = stream
wait = no
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.rexecd
server_args = -D
}

mig28mx
26th February 2009, 18:37
Hello PJOHNS,
Your solution worked like a charm!

Thank you very much!