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

RE: [Condor-users] Newbie Questions (WIN32)




Let me summarize and ensure I fully understand.  

Condor does not provide executing processes/jobs as the user(s) account who scheduled the job.

  Then how is security handled?  
  How does the administrator allow or deny execution of a specific module?

URI access is not a specific feature of Condor it is more the limitation of CMD.EXE.  However, Condor does experience difficulties executing via a URI (aka \\<server>\<share>\<exectuable> ).

  How does Condor execute jobs (via cmd.exe or CreateProcess)?
  If via CMD.EXE can the invocation method be altered easily via configuration?
     1. I ask since 4NT and Win32 Bsh/Csh fully support URIs.
     2. I might also wish to roll my own execution shell.

What is the process for altering and fixing a bug?  To who or whom do I submit the alteration?

I apologies if I seem hesitant.  I am used to understanding every aspect of my current solution (since I wrote it).  










-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



 --- On Thu 12/23, Andrey Kaliazin < A.Kaliazin@xxxxxxxxxxx > wrote:
From: Andrey Kaliazin [mailto: A.Kaliazin@xxxxxxxxxxx]
To: john@xxxxxxxxxx, condor-users@xxxxxxxxxxx
Date: Thu, 23 Dec 2004 11:45:11 -0000
Subject: RE: [Condor-users] Newbie Questions (WIN32)

Windows XP can be made to understand UNC -<br>Just make some changes to the registry:<br><br>[HKEY_USERS\.DEFAULT\Software\Microsoft\Command Processor]<br>; - use TAB to auto complete command line, kinda Bash style, but not as<br>clever<br>"PathCompletionChar"=dword:00000009<br>"CompletionChar"=dword:00000009<br>; - next entry (when set to 1) will allow using UNC in command prompt<br>"DisableUNCCheck"=dword:00000001 <br><br>The same settings should go into other parts of the registry, I am not sure<br>which one is needed. :-)<br><br>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]<br>"PathCompletionChar"=dword:00000009<br>"CompletionChar"=dword:00000009<br>"DisableUNCCheck"=dword:00000001 <br><br>For example, I am starting cmd.exe, and \\seas - is our Samba PDC:<br>=======================================================<br>Microsoft Windows XP [Version 5.1.2600]<br>(C) Copyright 1985-2001 Microsoft Corp.<br><br>C:\Documents and Settings\Kaliazia>cd \<br><br>C:\>set !
 PATH=c:\windows;c:\windows\system32<br><br>C:\>dir \\seas\condor<br> Volume in drive \\seas\condor is ...<br> Volume Serial Number is 02A5-0A95<br><br> Directory of \\seas\condor<br><br>25/05/2004  15:29    <DIR>          .<br>23/11/2004  10:37    <DIR>          ..<br>25/05/2004  15:30    <DIR>          cygwin<br>               0 File(s)              0 bytes<br>               3 Dir(s)  20,365,443,072 bytes free<br><br>C:\><br>========================================================<br><br>But Condor still have problems launching jobs from UNC folders on Windows.<br>I have pointed it out couple of times on this forum, but got no reply,<br>unfortunately.<br><br>cheers,<br><br>Andrey<br><br><br>> -----Original Message-----<br>> From: condor-users-bounces@xxxxxxxxxxx <br>> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of John Wheez<br>> Sent: Wednesday, December 22, 2004 11:29 PM<br>> To: nnoydb@xxxxxxxxxx; Condor-Users Mail List<br>> Subject: Re: [Condor-users] Newbie Qu!
 estions (WIN32)<br>> <br>> Condor understands UNC.<br>> Windows Comman
d shell doesn not understand UNC<br>> <br>> So to make things simple, you can have condor execute a windows batch <br>> file. The first lines of teh batch file<br>> will setup your environment..you can then mount drives using <br>> the NET USE <br>> command..ets<br>> the last line will be your executable and condor can pass the <br>> arguments <br>> in to the windows batch.<br>> <br>> this also works for linux too.<br>> <br>> Hope this helps, JW<br>> <br>> <br>> N wrote:<br>> <br>> >I am currently using a home grown PERL/SSH batch clustering <br>> system on the Win32 platform (Win32 not my choice).  I am <br>> attempting to replace this home grown system with something <br>> better documented and a nit more stable.  However, I have <br>> several requirements that must be met.<br>> ><br>> ><br>> >1.	Job must execute in the context of the user id which <br>> create/queued it.<br>> >2.	Jobs must be able to access network resource via URIs <br>> (\\<server>\<share> syntax)<br>> !
 ><br>> > I find several references that state Condor cannot <br>> currently access URI resources is this correct?   Is this <br>> because it does not execute the task in the context of the <br>> user that created it (keep in mind I am referring to win32)?<br>> ><br>> >If I cannot access via URI is it possible to attach a <br>> preprocess step to map a driver letter to a specific share?<br>> ><br>> >N<br>> ><br>> ><br>> ><br>> >-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-<br>> >Disclaimer:<br>> ><br>> >Any resemblance between the above views and those of my<br>> >employer, my terminal, or the view out my window are purely<br>> >coincidental. <br>> >Any resemblance between the above and my own views is <br>> non-deterministic.<br>> ><br>> > The question of the existence of views in the absence of <br>> anyone to hold<br>> >them<br>> >is left as an exercise for the reader. The question of the <br>> existence of<br>> >the reader<br>> > is left as an exercise for the second god !
 coefficient. <br>> >(A discussion of non-orthogonal, non-integral poly
th
 eism is <br>> beyond the<br>> >scope of this article.)<br>> ><br>> ><br>> ><br>> >_______________________________________________<br>> >Join Excite! - http://www.excite.com<br>> >The most personalized portal on the Web!<br>> >_______________________________________________<br>> >Condor-users mailing list<br>> >Condor-users@xxxxxxxxxxx<br>> >http://lists.cs.wisc.edu/mailman/listinfo/condor-users<br>> >  <br>> ><br>> <br>> <br>> _______________________________________________<br>> Condor-users mailing list<br>> Condor-users@xxxxxxxxxxx<br>> http://lists.cs.wisc.edu/mailman/listinfo/condor-users<br>> <br><br>_______________________________________________<br>Condor-users mailing list<br>Condor-users@xxxxxxxxxxx<br>http://lists.cs.wisc.edu/mailman/listinfo/condor-users<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!