rsh: "access denied"

When I run rsh on NT, i get the following error "access denied"
I have updated the file HOSTS in
with the ipaddress and the username
but it still gives an access denied.

Any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Do you get the error if you just type RSH with no parameters?  What permissions do you have on the target machine and how are they implemented (Local account, same domain, trust)?  What program are you tring to execute on the foreign host?  Do you have permission to execute that program?  
FrisonAuthor Commented:
returns the help

returns the help

c:\>rsh c:\textpad\textpad.exe
returns access denied

Both pc on Same domain
with c:\textpad\textpad.exe granted to all

And if I try to call myself should it
Will C:\>rsh ipmycomputer c:\textpad\textpad.exe
 launch texpad?
It does not
andyalderSaggar maker's framemakerCommented:
Correct me if I'm wrong but I thought rsh under NT is only a client, used to run a remote shell on a UNIX box, not another NT box. I don't think there is a corresponding daemon for NT to support rsh.

N.B. on the unix box the file is .rhosts, not hosts.

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
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

andyalderSaggar maker's framemakerCommented:
look what searching MS web came up with, (and in your case rsh.exe on NT is pretending to be a unix workstation running rsh)

So I'm not wrong unless you've got a 3rd party rshd, rcmdd or rexecd for NT.

Trouble is NT's RPCs are based on unix RPCs but incompatable with them.

Think you might have been misled in a previous question. I would post as answer but some expert might just be able to supply a URL for a 3rd party daemon to run on NT.

Textpad is an interactive program so even if the rsh worked, you would not be able to use it this way because the standard output would be going to the remote command, not to your local session.  

andyalderSaggar maker's framemakerCommented:
What you need is rcmd/rcmdsvr from resource kit or even remote.exe but still only get a dos box on remote machine.
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
Windows Networking

From novice to tech pro — start learning today.