tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* rsh to a 4.0f machine doesn't work
@ 1999-11-24 12:51 Georg Wittig
  0 siblings, 0 replies; only message in thread
From: Georg Wittig @ 1999-11-24 12:51 UTC (permalink / raw)
  To: tru64-unix-managers

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@gmd.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Linux is like a Wigwam. No Windows, no Gates, and an Apache inside.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-24 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-24 12:51 rsh to a 4.0f machine doesn't work Georg Wittig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox