Created
June 16, 2021 08:23
-
-
Save ram1123/4e29fed1d6a7ac072e3e3b0ab87e5889 to your computer and use it in GitHub Desktop.
Set proxy for condor jobs at lxplus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # the argument to this script will be the file created by proxy command, i.e. | |
| # voms-proxy-init --voms cms --valid 168:00 | |
| # Created proxy in /tmp/x509up_u48539. | |
| # then the first argument will be x509up_u48539 only. | |
| proxy=${1} | |
| cp /tmp/${proxy} ~/ | |
| export X509_USER_PROXY=~/${proxy} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment