SUMMARY - rsh - permission denied

Esther Muller (emr@wcomp.gov.za)
Thu, 26 Mar 1998 17:28:30 -0200

I've never before had a problem with giving a person rsh permissions, until now...

A user (ftfuser) on our DRS6000 needs to execute a rsh command to a Solaris 2.5 machine
/etc/hosts entry on the Sol machine:
WCFRONT ftfuser
ORIGINAL MESSAGE

>/home2/ftfuser/.rhosts (home dir) entry on the Sol machine: (file is owned by ftfuser)
> WCFRONT ftfuser
>I checked /etc/services and /etc/inetd.conf and they look ok
>Adding ftfuser to the /etc/hosts.equiv file made no difference
>We don't use DNS or NIS
>
>whenever the user tries even a simple rsh (rsh sun1 ls) it just says permission denied.
>when ftfuser tries a rlogin to the SS 2.5 machine it prompts for a passwd
>when root tries a rsh and rlogin from the DRS6000 to the SS 2.5 machine, it works fine
>
>This same user can rsh from the DRS6000 to another machine running Solaris 2.5.1 without any problems
>
>What am I missing?
>I read through some of the archives, but didn't find anything that solved the problem
>
>Thanks in advance
>Esther

ANSWER

David came through with the solution that worked
Try logging in as ftfuser (yes, with a passwd) from the DRS6000 to the
affected Solaris machine and running finger to see from whence the
Solaris machine thinks you've come; it probably won't be WCFRONT.

I modified the .rhosts file in the users home directory on the SS2.5.1 machine with the new info,
and it worked first time.

Thanks to the following for responding:
Elaine Mele [emele@wsj.dowjones.com
David ThorBurn-Gundlach [david@bae.uga.edu]
Vikas Arora [vikas@blr.pin.philips.com]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Esther Muller
Unix System Administrator
Xcel Engineering & Management
Cel : 083 454 6117
Tel(w) : 27-12-3199405
Fax : 27-12-3219622
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Men are from Mars. Women are from Venus.
Idiots are Universal.