myproxy-admin-query(8)
β¨ myproxy-admin-query β¨
okay bestie, welcome to the myproxy-admin-query page, part of the MyProxy manual collection (section 8, admin girlies only π ). sit down, hydrate, and let's go through ur credential repository together π«Ά
πΈ NAME πΈ
myproxy-admin-query β literally just peek inside ur MyProxy repository and see what's in there π
π¦ SYNOPSIS π¦
myproxy-admin-query [ options ]
π DESCRIPTION π
so the myproxy-admin-query command displays information about the credentials stored in the MyProxy repository. that's the main character job. but wait, there's more β you can also use it to remove credentials from the repository by combining query options with --remove. two-for-one, we love that for us β¨
it accesses the repository directly, no middleman, no server handshake, nothing. which means it must be run on the machine where the myproxy-server(8) is installed, and it has to run from the account that owns the repository. no borrowing ur friend's account for this one, sorry babe π
also!! there's an example cron job for running myproxy-admin-query periodically to remove invalid (expired, revoked, etc.) credentials from the repository, and it lives at $GLOBUS_LOCATION/share/myproxy/myproxy.cron. set it and forget it, iconic behavior π
β¨ OPTIONS β¨
-h,--helpβ shows u the command usage text and then dips. that's it, that's the whole job π-u,--usageβ also shows u the command usage text and exits. yes it's basically the same vibe as-h, they're both here, don't ask π-v,--verboseβ turns on verbose debugging output straight to ur terminal. chaos mode but make it informative π₯-V,--versionβ prints the version info and bounces. quick little flex β-lusername,--usernameusername β returns info on the credentials for one single username. by default tho, the command returns info on all credentials for all usernames, so this is ur narrowing-down bestie πΈ-kname,--crednamename β returns info on the credentials that have the specified name. name drop only π-oDN,--ownerDN β returns info on the credentials owned by the specified distinguished name. fancy DN girlies rise up π-ehours,--expiring_inhours β returns info on credentials whose remaining lifetime is less than the number of hours u give it. for example,-e 0will return all expired credentials. expired era π-thours,--time_lefthours β returns info on credentials whose remaining lifetime is greater than the number of hours u give it. the opposite energy of-e, we stan a balanced pair π¦-i,--invalidβ returns info on invalid (expired, revoked, etc.) credentials. the messy ones π«Ά-sdir,--storagedir β specifies the location of the credential storage directory. > heads up bestie: for security reasons the directory must be accessible only by the user running themyproxy-serverprocess. no sharing, no peeking, no exceptions π default is/var/lib/myproxyor/var/myproxyor$GLOBUS_LOCATION/var/myproxy-cfile,--configfile β specifies the location of the myproxy-server configuration file, used for OCSP options. default is/etc/myproxy-server.configor$GLOBUS_LOCATION/etc/myproxy-server.configπ§-r,--removeβ removes the credentials matching the query from the repository. for example,myproxy-admin-query -e 0 -rwill remove all expired credentials from the repository. spring cleaning, but for certs π§Ήβ¨-L'msg',--lock'msg' β places the credentials matching the query under an administrative lock and specifies a message that gets returned on access attempts. > bestie pls put the message in quotes so it gets captured as one argument to the command. quotes are not optional here, they're the whole point π-U,--unlockβ removes any administrative locks for the credentials matching the query. lock off, freedom restored ποΈ
π EXIT STATUS π
0on success π>0on error π
π AUTHORS π
see http://grid.ncsa.illinois.edu/myproxy/about for the list of MyProxy authors. go say hi to the legends who built this π
π₯ SEE ALSO π₯
myproxy-change-pass-phrase(1), myproxy-destroy(1), myproxy-init(1), myproxy-logon(1), myproxy-retrieve(1), myproxy-store(1), myproxy-server.config(5), myproxy-admin-adduser(8), myproxy-admin-change-pass(8), myproxy-admin-load-credential(8), myproxy-server(8)
and that's the whole page bestie π this came from the MyProxy peeps, dated 2011-09-19. go query ur repo responsibly, mwah ππ
π¦ where this page comes from
- debian bookworm: myproxy-admin 6.2.14-2+b2 Β· NCSA
- debian trixie: myproxy-admin 6.2.16-4 Β· NCSA
- epel 10: myproxy-admin 6.2.20-1.el10_2 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- epel 9: myproxy-admin 6.2.20-1.el9 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- fedora 43: myproxy-admin 6.2.16-10.fc43 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- fedora 43: myproxy-admin 6.2.20-1.fc43 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- fedora 44: myproxy-admin 6.2.20-2.fc44 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- ubuntu jammy: myproxy-admin 6.2.9-2 Β· NCSA
- ubuntu noble: myproxy-admin 6.2.16-2build2 Β· NCSA
- ubuntu questing: myproxy-admin 6.2.16-4
- ubuntu resolute: myproxy-admin 6.2.20-1 Β· NCSA
- ubuntu stonking: myproxy-admin 6.2.20-2build1 Β· NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms