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

Re: [Condor-users] Setting Condor Job Owner in Windows

Hi Diane:

   String[] condorCommand = { "runas", "/noprofile", 
"/user:mydomain\diane","condor_submit"} ;

Unfortunately, using this method you'll have to find a way to supply runas
with a password on stdin, because it does not allow for passwords to be
passed as parameters. As may have already found.

You may be able to expand upon the following framework to supply the
required stdin information (it already gathers stdout and stderr):