Hello,
I've been stuck with this since a few days, and i hope i'll find some help here.
Here the story :
Since now, i've HP-UX servers with sap erp software on it. We managed a few years ago to build a special access to a w2k server with SFU.
Ux server execute this command :
remsh hostname batch.bat 001.JPG 002.JPG
This command allow ux server to launch a batch who move a named file (001.jpg) on the w2k server folder to another with the order name.
Ok so all working good before, i installed sfu on 2k server, i created same user than the ux one, and log/registered password with rsh passwd, added a .rhosts into windows/system32/drivers/etc. Working perfectly.
Now the 2k server is a bit too old, and i'm currently prepairing a new server with 2k3 R2 and SUA instead of SFU
I've done same things than for the old one :
- create a local user with the same username
- register password with rgpwd
- create a .rhosts file (with + + only for now, i know i need to be more secure but it's for testing purpose)
- uncomment file inetd.conf
- try to create also a hosts.equiv but not working, so i delete it
- add servers name and ip to windows hosts file.
- home folder for user is windir/sua (default folder for sua install)
I cannot run the batch manually
remsh hostname batch.bat 001.JPG 002.JPG
the error is Permission denied.
But if i do remsh hostname -l username, it works :
HTML Code:
$ remsh server -l username
Password:
Copyright (c) Microsoft Corporation. All rights reserved.
Welcome to the SUA utilities.
DISPLAY=localhost:0.0
$ ls
bin docs lib opt usr
common etc movearg.bat proc var
dev help net tmp
$
So something is missing but i don't really know what.
I really need your help with this, because i'm stuck and i don't know what to check next.
I thank you for any by advance !