Solved

access denied using rexec.exe

Posted on 2008-10-17
4
2,914 Views
Last Modified: 2012-06-27
trying to run a remote command to a Windows 2008 server using rexec. (for testing).  Ultimately we will be running the command from an IBM i system 520 using runrmtcmd.  Right now when I enter the command rexec 10.3.9.39 -l remotecmd remotecmd (username and password are the same)
the response I get back from the server 10.3.9.39 is access denied.  Anyone have any ideas?
0
Comment
Question by:roomstore
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 500 total points
ID: 22745642
1.Install rshsvr on your server and start the service.
rshsvr can be found on ResKit CD, it contains a detailed installation doc too.
Don't forget to setup your .rhosts file before starting rshsvr.

2.have you tried the username format domain\username , and if a workgroup use the remote ws name as the domain?

3.Also, any firewalls on the other systems that could be blocking this traffic?

4.PsExec v1.72
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/PsExec.mspx
Nothing needed to install on the other machine as well...
To open a dos shell on the remote machine.....
psexec.exe \\computername -u domain\userid -p password -i cmd.exe
The -i switch forces interaction with teh remote desktop
0
 

Author Comment

by:roomstore
ID: 22912029
Sorry for the delay.

SK Raja,

I plan to work on this Monday. I will try your first suggestion, rshsvr .

We are in a domain, and I have tried d\u format, but the iseries errors out, says the username field can only be 10 characters -- My domain name only exceeds 10 characters. I plan to try this -- Physically logon to the server as the domain\ibm, then try to run the command using 'ibm' as the user. Maybe the connection will pass through, since both users have the same password. I have also created a local 'ibm' user on the 2008 server.

Disabled the firewall.

Psexec -- I believe I have seen this used to aid the installation of unix printers on windows.

Jason
0
 

Author Closing Comment

by:roomstore
ID: 31507300
Your solution is noteworthy, although, what I did to make it work was, started the iSeries for Windows Remote Command service. This is the listerner that accepted my remote command. Thanks.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to look into SCCM 2007 by my employer, having a degree of experience of earlier versions of SMS and some previous SCCM knowledge I didn't expect the procedure to involve to much time. I read a number of guides concerning it…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now