[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
- Date: Wed, 2 Sep 2009 13:18:35 -0400
- From: Ian Chesal <ICHESAL@xxxxxxxxxx>
- Subject: 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
> >> 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 :)
Yes! That's the ticket. I forget about the PS-tools. Handy they are.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.