remsh permission denied

I have recently installed SCO Open Server on a couple of machines which communicate via  ethernet to a couple of NCR 3500 machines.
Occasionally I need to edit a file on the SCO machines remotely from the 3500's from a script run as root.
According to SCO documentation I need an entry in /etc/passwd plus an entry in .rhosts in the root directory, in the format hostname root, for remshd to validate the logon. I have done both of these but still get the message:-
permission denied
remsh:can't establish remote.

I have also put an entry in /etc/hosts.equiv
the hostname is present in /etc/hosts.

I'm sure that I'm overlooking something simple like permissions somewhere.

Thanks in advance
philt022797Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pxhCommented:
Make shure that .rhosts is alright. First it has to be on the root directory, i.e. /.rhosts  second the host specified in .rhosts has to be either the full internet address (with the domain appended) or only the hostname. This is easy to find out. If you are on the remote system do a rlogin (or telnet) to the target machine. Then enter "who" and you should see your login with the originating host in brackets at the end of the line. You can recognize whether your local host is "seen" with or without the domainname appended. Be careful the who output line might be truncated.

Another detail: how are you logged in on the local machine?
E.g. you are sitting in front of host_l as user philt and you want to remote edit on host_r as root. What you really need is /.rhosts on host_r with the entry "host_l philt". host_l has to
be a hostname or Internet address according to the above rules.

You can check this by issuing "rlogin host_r -l root" from host_l. If you are asked for a password something is still wrong with the .rhosts file.

Hope this helps,

Peter

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.