findproxyfile(1)
β¨ findproxyfile β bestie edition β¨
okay so this is findproxyfile, a lil tool from the GridSite Manual (section 1, we're in the big leagues π ) that literally just tells you the full path to a GSI Proxy file. that's it. that's the whole job. and she does it flawlessly. π
πΈ NAME πΈ
findproxyfile β returns full path to GSI Proxy file π¦
π SYNOPSIS π
findproxyfile [--proxycache=PATH] [--delegation-id=ID] [--user-dn=DN]
[--outsidecache]
no cap, that's the whole vibe. now let's get into it π
π DESCRIPTION π
so findproxyfile returns the full path to a GSI Proxy file. and the way it does that? two options, bestie:
- it looks in the proxy cache maintained by the GridSite G-HTTPS and delegation portType functions, or
- it checks other standard places.
if a User DN is given, findproxyfile uses the value of the --proxycache argument, the GRST_PROXY_PATH environment variable, or the compile time default to figure out where the proxy cache directory lives. then it searches that directory for a proxy having the given User DN and Delegation ID. (and if no Delegation ID is specified? the default value gets used, periodt.)
and if findproxyfile doesn't find a proxy, or if a User DN wasn't given in the first place but --outsidecache was given β then it also searches the X509_USER_PROXY environment variable and the standard location /tmp/x509up_uUID. π«Ά
β¨ OPTIONS β¨
--proxycache=PATHβ hands over the path of the proxy cache directory, like, explicitly. this overrides the default and theGRST_PROXY_PATHenvironment variable if it's present. main character move honestly π--delegation-id=IDβ this optional delegation ID gets searched for in the proxy cache in addition to the User DN. if it's absent, the default Delegation ID value is what gets searched for instead. π«--user-dn=DNβ the DN of the full user certificate associated with the proxy you're searching for in the proxy cache. and listen, this is NOT the DN of any proxy earlier in the chain β it is the DN of a certificate issued by a recognised CA. don't get it twisted bestie π--outsidecacheβ if a User DN isn't given, or a proxy just isn't found in the cache, then go search for a proxy using theX509_USER_PROXYenvironment variable and the file name of form/tmp/x509up_uUIDas well. backup plan energy πΈ
π RETURN VALUE π
if a proxy is found, its full path is output on standard out. slay. π
π₯ EXIT CODES π₯
0is returned on success β¨- Non-zero otherwise. π
π BUGS π
in this version, no attempt is made to verify or validate the proxies. she's giving trust fall, not background check. π
π AUTHOR π
Andrew McNab <Andrew.McNab@man.ac.uk>
findproxyfile is part of GridSite: http://www.gridsite.org/ π
and that's the whole page bestie!! this was the GridSite Manual version, dated October 2004 β iconic, timeless, lowkey a legend. go find those proxy files. iykyk π¦πβ¨π
π¦ where this page comes from
- debian bookworm: gridsite-clients 3.0.0~20230214gitee81151-1+b1 Β· BSD-2-Clause
- debian trixie: gridsite-clients 3.0.0~20240125git1200598-1.1 Β· BSD-2-Clause
- epel 9: gridsite-clients 3.0.0-0.25.20230214gitee81151.el9 Β· Apache-2.0 AND BSD-2-Clause
- fedora 43: gridsite-clients 3.0.0-0.33.20240125git1200598.fc43 Β· Apache-2.0 AND BSD-2-Clause
- fedora 43: gridsite-clients 3.0.0-0.36.20260121git7a7b764.fc43 Β· Apache-2.0 AND BSD-2-Clause
- fedora 44: gridsite-clients 3.0.0-0.36.20260121git7a7b764.fc44 Β· Apache-2.0 AND BSD-2-Clause
- ubuntu noble: gridsite-clients 3.0.0~20230214gitee81151-1.1build3 Β· BSD-2-Clause
- ubuntu questing: gridsite-clients 3.0.0~20240125git1200598-1.1build1
- ubuntu resolute: gridsite-clients 3.0.0~20240125git1200598-2build1 Β· BSD-2-Clause
- ubuntu stonking: gridsite-clients 3.0.0~20240125git1200598-3build1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms