Anmelden

View Full Version : Ferner Befehl



dd3tj
02-08-05, 16:49
Hallo,
Kleines Problem mit RUNRMTCMD
ich möchte Ferne Befehl auf ein PC aber ohne Benutzer und Kennwort
mit Benutzer und Kewnnwort funktioniert es problemlos
es gibt aber auf dem PC ein Programm oder einstellung die mann machen kann
ich glaube auf dem pc ein program cwb????

Kann mir da jemand helfen

danke im voraus
dd3tj

TARASIK
03-08-05, 07:13
Hallo,
Du meinst bestimmt dies:
First, the explanation and fix. The message "A remote host refused an attempted connect operation" is a TCP/IP-specific message that you might see when running any command (in general) that uses TCP/IP to connect to another system. It means that the system you specified to run the command on (i.e. the PC) rejected the connect attempt. In this case, RUNRMTCMD sent a message to the PC saying "I want to talk to the Incoming Remote Command server," and the PC said "Sorry, it's not available right now" and rejected the request. Evidently the Incoming Remote Command server program on the PC is not running. (In the case of Windows 9x/Me, this is cwbrxd.exe; in the case of Windows NT/2k/XP, this is the Client Access Remote Command service.) To find out exactly how to start this server program on the PC, read the pertinent info in the User's Guide installed with iSeries Access for Windows.

dd3tj
04-08-05, 12:24
Nein,

Ich will nur das runrmtcmd das funktioniert ohne benutzer und password absetzen können

PeterKarsten
04-08-05, 17:48
Es gibt folgende Möglichkeit:

Systemeinstellung iSerieS: QRMTSIGN *VERIFY übernimmt und überprüft die Anmeldedaten des PC.

Wenn du im Client Access in "Konfigurieren" Anmeldung umgehen eingestellt hast, kannst du zumindest auf dem PC, von dem du auf die iSeries zugreifst, ein Programm starten, ohne dich anzumelden. Das könnte dann als CL so aussehen:

PGM
STRPCO
MONMSG MSGID(CPF0000)
STRPCCMD PCCMD('C:\GAST.EXE')
ENDPGM

holgerscherer
07-08-05, 23:55
Nein,

Ich will nur das runrmtcmd das funktioniert ohne benutzer und password absetzen können


Davon würde ich abraten, eine Begründung ist hoffentlich nicht notwendig. Je nach Zielsystem ist entweder ein Client Access unter Windows nötig, oder der Rechner versteht in der Regel RCMD. Notfalls kann man auch via FTP ein remote Command absetzen, aber auch hier ist ein Benutzer+Kennwort empfehlenswert.

-h