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

Re: [Condor-users] Writing to HKEY_CURRENT_USERwhen running jobson Windows



Has the ability to load a user profile made it into a Condor release
yet?  I haven't found anything in the Release Notes so I suspect the
feature is not released yet.

Did you have any luck finding a solution using expect, or some other
approach?  We may be looking for a solution to the same problem, and any
info you can share would be useful.

- Coop


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent: Tuesday, July 03, 2007 1:42 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Writing to HKEY_CURRENT_USERwhen running
jobson Windows

> It looks as if we have the go ahead on this, so this will feature will
be
> added on a per-job basis in a future release of Condor.

Thanks! And great that it's a per-job attribute instead of a per-machine
attribute.

> In the mean time, if you need write access to the user part of the
> registry,
> you might also try forcing the profile to be loaded by first login in
some
> user using the runas.exe command's /profile flag (which is set by
> default).
> The caveat to this, is that the runas.exe will require some
interaction
> (i.e. entering the selected user's password), but I believe this can
be
> overcome with an expect script (http://expect.nist.gov/#windows).
There
> were some other ideas I had, but this is by far the least hack'ish of
the
> lot, and the simplest.  If this does not fit your needs, let me know
and
> we
> can explore some other avenues.

I'll take a look at expect. We might be able to work around the problem
with this approach. When I get a solution in place I'll reply to the
list with the final approach I ended up taking.

- Ian
 



_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: 
https://lists.cs.wisc.edu/archive/condor-users/