Hi,
we are in the process of upgrading a 3.2c server to Tru64 Unix 4.0f on
a DS20 machine. We have a problem with rsh.
anymachine$ rsh server40f date
-- waiting 30 seconds --
server40f: Connection refused
anymachine$
Note it does NOT say "Permission denied" (which would indicate a
.rhosts problem). Also, rlogin DOES work which makes that phaenomenon
still stranger to me.
server40f has been setup without C2 security.
/etc/inetd.conf has a line:
shell stream tcp nowait root /usr/sbin/rshd rshd
This looks pretty standard to me. I have "kill -HUP"ed inetd to be
100% sure inetd will see this line.
/usr/sbin/rshd isn't used at all during an rsh attempt, if I believe
the "ls -lu /usr/sbin/rshd" command. The rshd binary is:
server40f$ ls -l /usr/sbin/rshd
-rwxr-xr-x 1 bin bin 32768 Apr 12 1999 /usr/sbin/rshd
server40f$
Looks pretty standard, too.
The only thing that seems to be used (according to ls -lu) during an
rsh attempt is /etc/sia/matrix.conf. Those files look pretty standard,
too:
server40f$ ls -l /etc/sia/matrix.conf /etc/sia/bsd_matrix.conf
-rw-r--r-- 1 root bin 2191 Nov 10 12:27 /etc/sia/bsd_matrix.conf
lrwxrwxrwx 1 root system 15 Nov 10 12:27 /etc/sia/matrix.conf -> bsd_matrix.conf
server40f$
(Nov 10 was the day we installed the OS.)
So, did I understand correctly: Inetd is listening to an incoming rsh
request and it uses some sia software even BEFORE it's trying to run
rshd?! Isn't sia part of the tasks of rshd?
My main questions are: With standard OS installation, why does rlogin
work, but rsh not; and how to get it working?
Thanks in advance for your help,
--
Georg Wittig, GMD Georg.Wittig_at_gmd.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux is like a Wigwam. No Windows, no Gates, and an Apache inside.
Received on Wed Nov 24 1999 - 12:53:25 NZDT