SUMMARY (2) rsh - permission denied

Esther Muller (emr@wcomp.gov.za)
Thu, 26 Mar 1998 18:35:49 -0200

ORIGINAL MESSAGE

>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

Typo - should be /etc/hosts.equiv

>
>/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 [david@bae.uga.edu] 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.

The Solaris machine did think I was someone else (WCDEV)
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]

MORE ANSWERS

Lots of people directed me to the .rhosts or hosts.equiv.
also to make sure the .rhosts is writable by the owner and read access for the rest.
(This was not the problem)

Tom Leach gave an alternative to the finger command. 'who' will also work

Thanks to the following for responding (more)
Tom Leach [leach@oce.orst.edu]
Ross Helfand [rhelfand@census.gov]
D Steward Mcleod [stewart.mcleod@boeing.com]
Eugene Kramer [eugene@uniteq.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.