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

Re: [HTCondor-users] how is the -password option in condor_submit command expressed with the python bindings?



FYI, this is for MyProxy support, not the password authentication method.

Assuming that's what you really want, you can set the attribute either using the command line or by including this in the job description:

MyProxyPassword = <password>


Cheers,
-zach

ïOn 8/10/18, 3:31 PM, "HTCondor-users on behalf of Jose Caballero" <htcondor-users-bounces@xxxxxxxxxxx on behalf of jcaballero.hep@xxxxxxxxx> wrote:

    Hi,
    
    
    command line condor_submit has an input option -password.
    How do you use it when submitting with the python bindings?
    In a snippet like this:
    
    schedd = htcondor.Schedd()
    sub = htcondor.Submit( <classad_dict> )
    with schedd.transaction() as txn:
        sub.queue(txn, 1)
    
    I don't see clearly where the password is set.
    Any hint is more than welcome.
    
    
    Thanks,
    Jose
    _______________________________________________
    HTCondor-users mailing list
    To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
    subject: Unsubscribe
    You can also unsubscribe by visiting
    https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
    
    The archives can be found at:
    https://lists.cs.wisc.edu/archive/htcondor-users/