Frison
asked on
rsh: "access denied"
When I run rsh on NT, i get the following error "access denied"
I have updated the file HOSTS in
system32/drivers/etc
with the ipaddress and the username
but it still gives an access denied.
Any ideas?
I have updated the file HOSTS in
system32/drivers/etc
with the ipaddress and the username
but it still gives an access denied.
Any ideas?
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?
ASKER
c:\>rsh
returns the help
c:\>rsh 195.1.1.32
returns the help
c:\>rsh 195.1.1.32 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
work?
Will C:\>rsh ipmycomputer c:\textpad\textpad.exe
launch texpad?
It does not
returns the help
c:\>rsh 195.1.1.32
returns the help
c:\>rsh 195.1.1.32 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
work?
Will C:\>rsh ipmycomputer c:\textpad\textpad.exe
launch texpad?
It does not
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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)
http://support.microsoft.com/support/kb/articles/Q102/5/61.asp
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.
http://support.microsoft.com/support/kb/articles/Q102/5/61.asp
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.
Bert
Bert
What you need is rcmd/rcmdsvr from resource kit or even remote.exe but still only get a dos box on remote machine.