[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Request: Run hook scripts in the context of the user who will execute the job on Windows



-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent: 02 September 2009 17:52
To: Condor-Users Mail List
Subject: Re: [Condor-users] Request: Run hook scripts in the context of the user who will execute the job on Windows


>> Another idea: if you are using a "Professional" version of
>> Windows, aka
>> XP Professional and _not_ XP Home etc, and you are using
>> dedicated job
>> run accounts with Condor, perhaps you could use the "runas /savecred"
>> option and then do a runas from inside your hook.

> We're toying with this now. It's been unreliable in the past to stash
> credentials this way. It'll work for a period of time and then it'll
> start asking for the password again. We'll see how the tests go with this one.


just use psexec instead :)

http://technet.microsoft.com/en-gb/sysinternals/bb897553.aspx

----
Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action.
The information in this email is intended only for the named recipient.  If you are not the intended recipient please notify us immediately and do not copy, distribute or take action based on this e-mail.
All messages sent to and from this email address will be logged by Gloucester Research Ltd and are subject to archival storage, monitoring, review and disclosure.
Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, London WC1E 7EA.
Gloucester Research Limited is a company registered in England and Wales with company number 04267560.
----