Summary: rsh problem

From: Wong, Ivan <>
Date: Mon Jan 05 2004 - 03:49:29 EST

Thanks to all the replies.  Special thanks go to Alan Pae for his
suggestion.  Alan's idea of checking /etc/pam.conf was correct.

After comparing /etc/pam.conf on the 2 boxes, I discovered there were 2
missing rsh lines on the offending box.

Once these 2 lines (shown below) were added, rsh worked.
rsh     auth sufficient
rsh     auth required 

Original Post:

I was wondering if anyone can help me with a rsh problem.

Current situation:

There are 2 hosts, X and Y.  Host X can rsh to host Y and run a command.
However, host Y can not do the same on host X.

That is to say, when host Y runs a command like "rsh x date", the error
message 'permission denied' comes up.  Running "rsh localhost date" on
Host Y produces same error.

In /.rhosts on host Y, we added the FQDN, IP address, hostname and +,
exactly the same as on host X.  It made no difference.

The rsh line in /etc/inetd.conf was also uncommented and inetd was

Some previous posts said to set the permissions on /.rhosts to 600 and
it also made no difference.

We also tried editing nsswitch.conf so that hosts will just use difference again.  Both hosts are configured to use DNS and
NIS hasn't been setup.

Any ideas on what is missing on host Y to get rsh working?

Thanks in advance.
sunmanagers mailing list
Received on Mon Jan 5 03:49:21 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:26 EST