Skip to content

Instantly share code, notes, and snippets.

@ram1123
Created June 16, 2021 08:23
Show Gist options
  • Select an option

  • Save ram1123/4e29fed1d6a7ac072e3e3b0ab87e5889 to your computer and use it in GitHub Desktop.

Select an option

Save ram1123/4e29fed1d6a7ac072e3e3b0ab87e5889 to your computer and use it in GitHub Desktop.
Set proxy for condor jobs at lxplus
#!/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