nimdokk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to run a script that checks for the presence or absence of a particular file on a remote Windows 2000 server. When I test the script as a domain user that has a local account on the remote server, I can test for the file just fine. However, the script needs to be run by a service account that does not have direct access to the machine. However, for the script to run, it needs to run under the domain service account user. Is there a way within the script to "login" to the remote Windows server as a user with local access to the machine for the purposes of checking for a file? I'm trying to find the simplest solution to our little problem that I can. Also, the remote machine does not (currently) have Perl installed but the machine where the script would reside does. Am I just spitting into a windstorm or is there something I might try?
update: I have tried using NT's rsh but we are also going through a firewall and that won't work.
"Ex libris un peut de tout"