myproxy-logon(1)
π myproxy-logon β retrieve a credential π
okay bestie, so you know how I'm always going on about myproxy-logon(1)? yeah. that's this. it's a MyProxy thing. let's get into it β¨
πΈ NAME πΈ
myproxy-logon β retrieve a credential. that's it, that's the whole job. she fetches. she serves. π
π¦ SYNOPSIS π¦
myproxy-logon [ options ]
myproxy-get-delegation [ options ]
β¨ DESCRIPTION β¨
so the myproxy-logon command retrieves a proxy credential from the myproxy-server(8) β and that credential has to have been previously stored using myproxy-init(1) or myproxy-store(1), okay? like, she's not gonna manifest it out of thin air, someone had to put it there first. π
she can also be used to retrieve short-lived end entity credentials from a myproxy-server(8) that's configured to act as a Certificate Authority. yes queen, CA energy. π
in the default mode, the command prompts for the MyProxy pass phrase associated with the credential to be retrieved, and then stores the retrieved credential in the location specified by the X509_USER_PROXY environment variable β or in /tmp/x509up_u<uid> if that environment variable is not set. remember that path. it lives in your head rent free now. π
also!! the myproxy-logon command is also available under the name myproxy-get-delegation for backward compatibility. two names, one icon. π
π OPTIONS π
-h,--helpβ displays command usage text and exits. your girl is helpful.-u,--usageβ displays command usage text and exits. yeah, same energy as-h, she contains multitudes.-v,--verboseβ enables verbose debugging output to the terminal. all the tea, spilled. π₯-V,--versionβ displays version information and exits.-s hostname[:port],--pshost hostname[:port]β specifies the hostname(s) of themyproxy-server(s). multiple hostnames, each hostname optionally followed by a:and port number, may be specified in a comma-separated list. this option is required if theMYPROXY_SERVERenvironment variable is not defined. if specified, this option overrides theMYPROXY_SERVERenvironment variable. and if a port number is specified with a hostname, it will override the-poption as well as theMYPROXY_SERVER_PORTenvironment variable for that host. so many overrides, so little time. π-p port,--psport portβ specifies the TCP port number of themyproxy-server(8). default:7512. β¨-l username,--username usernameβ specifies the MyProxy account under which the credential to retrieve is stored. by default, the command uses the value of theLOGNAMEenvironment variable. use this option to specify a different account username on the MyProxy server. the MyProxy username need not correspond to a real Unix username. she's fake but she's valid. π-d,--dn_as_usernameβ use the certificate subject (DN) as the default username, instead of theLOGNAMEenvironment variable. when used with the-aoption, the certificate subject of the authorization credential is used. otherwise, the certificate subject of the default credential is used.-t hours,--proxy_lifetime hoursβ specifies the lifetime of credentials retrieved from themyproxy-server(8)using the stored credential. the resulting lifetime is the shorter of the requested lifetime and the lifetime specified when the credential was stored usingmyproxy-init(1). default:12hours. so like, you can ask for a lot, but you get what you get. lowkey humbling. π-o file,--out fileβ specifies where the retrieved proxy credential should be stored. if this option is not specified, the proxy credential will be stored in the location specified by theX509_USER_PROXYenvironment variable or/tmp/x509up_u<uid>if that environment variable is not set. to write the credential to the command's standard output rather than to a file, use-o -. yes, dash. she's the main character. π-a file,--authorization fileβ use this option to specify an existing, valid credential that you want to renew. renewing a credential generally requires two certificate-based authentications. the client authenticates with its identity, using the credential in the standard location or specified by theX509_USER_PROXYorX509_USER_CERTandX509_USER_KEYenvironment variables, in addition to authenticating with the existing credential, in the location specified by this option, that it wants to renew. two-factor but make it grid. π-k name,--credname nameβ specifies the name of the credential that is to be retrieved or renewed.-S,--stdin_passβ by default, the command prompts for a passphrase and reads the passphrase from the active tty. when running the command non-interactively, there may be no associated tty. specifying this option tells the command to read passphrases from standard input without prompts or confirmation. for the script girlies. π«Ά-n,--no_passphraseβ don't prompt for a credential passphrase. use other methods for authentication, such as Kerberos ticket or X.509 certificate. this option is implied by-asince passphrase authentication is not used for credential renewal.-T,--trustrootsβ retrieve CA certificates directory from server (if available) to store in the location specified by theX509_CERT_DIRenvironment variable if set, or/etc/grid-security/certificatesif running as root, or~/.globus/certificatesif running as non-root. trust tree. π³-b,--bootstrapβ unless this option is specified, then if theX509_CERT_DIRexists and the CA that signed themyproxy-server(8)certificate is not trusted,myproxy-logonwill fail with an error, to protect against man-in-the-middle attacks. if, however, this option is specified,myproxy-logonwill accept the CA to bootstrap trust. this option implies-T. okay so this one is the spicy one, bestie β read it twice. π-q,--quietβ only write output messages on error. silent but deadly (to bugs).-N,--no_credentialsβ authenticate only. don't retrieve credentials. sometimes you just wanna say hi. π-m voms,--voms vomsβ add VOMS attributes to the credential by runningvoms-proxy-initon the client-side after retrieving the credential from themyproxy-server(8). the VOMS VO name must be provided, as required byvoms-proxy-init -voms. thevoms-proxy-initcommand must also be installed and configured to use this option. for example, theVOMS_USERCONFenvironment variable may need to be set forvoms-proxy-initto run correctly. attribute glow-up. β¨-Q file,--certreq fileβ specify the path to a PEM formatted certificate request to use when requesting a certificate from themyproxy-server(8), rather than allowingmyproxy-logonto generate the private key and certificate request itself. in this case,myproxy-logonwill not output a private key but will only output the signed certificate and (as needed) certificate chain. to read the certificate request from standard input rather than from a file, use-Q -. bring your own CSR, she respects it. π
π₯ EXIT STATUS π₯
0 on success, >0 on error. zero means slay, anything else means we're in our flop era. π
π ENVIRONMENT π
GLOBUS_GSSAPI_NAME_COMPATIBILITYβ this client will, by default, perform a reverse-DNS lookup to determine the FQHN (Fully Qualified Host Name) to use in verifying the identity of the server by checking the FQHN against the CN in server's certificate. setting this variable toSTRICT_RFC2818will cause the reverse-DNS lookup to NOT be performed and the user-specified name to be used instead. this variable setting will be ignored ifMYPROXY_SERVER_DN(described later) is set. iykyk. πMYPROXY_SERVERβ specifies the hostname(s) where themyproxy-server(8)is running. multiple hostnames can be specified in a comma separated list with each hostname optionally followed by a:and port number. this environment variable can be used in place of the-soption.MYPROXY_SERVER_PORTβ specifies the port where themyproxy-server(8)is running. this environment variable can be used in place of the-poption.MYPROXY_SERVER_DNβ specifies the distinguished name (DN) of themyproxy-server(8). all MyProxy client programs authenticate the server's identity. by default, MyProxy servers run with host credentials, so the MyProxy client programs expect the server to have a distinguished name with/CN=host/<fqhn>or/CN=myproxy/<fqhn>or/CN=<fqhn>(where<fqhn>is the fully-qualified hostname of the server). if the server is running with some other DN, you can set this environment variable to tell the MyProxy clients to accept the alternative DN. also seeGLOBUS_GSSAPI_NAME_COMPATIBILITYabove. πMYPROXY_TCP_PORT_RANGEβ specifies a range of valid port numbers in the formmin,maxfor the client side of the network connection to the server. by default, the client will bind to any available port. use this environment variable to restrict the ports used to a range allowed by your firewall. if unset, MyProxy will follow the setting of theGLOBUS_TCP_PORT_RANGEenvironment variable. firewall-approved only, periodt. π§X509_USER_CERTβ specifies a non-standard location for the certificate to be used for authentication to themyproxy-server(8).X509_USER_KEYβ specifies a non-standard location for the private key to be used for authentication to themyproxy-server(8).X509_USER_PROXYβ specifies a non-standard location for the proxy credential to be used for authentication to themyproxy-server(8). also specifies the output location for the proxy credential to be retrieved from themyproxy-server(8)unless the-ooption is given. she does double duty, she's booked and busy. πX509_CERT_DIRβ specifies a non-standard location for the CA certificates directory.MYPROXY_KEYBITSβ specifies the size for RSA keys generated by MyProxy. by default, MyProxy generates2048bit RSA keys. set this environment variable to1024for1024bit RSA keys. big key energy only, bestie. π
π§ AUTHORS π§
see http://grid.ncsa.illinois.edu/myproxy/about for the list of MyProxy authors. the whole squad, credited. π«Ά
π SEE ALSO π
myproxy-change-pass-phrase(1), myproxy-destroy(1), myproxy-get-trustroots(1), myproxy-info(1), myproxy-init(1), myproxy-retrieve(1), myproxy-server.config(5), myproxy-store(1), myproxy-admin-adduser(8), myproxy-admin-change-pass(8), myproxy-admin-load-credential(8), myproxy-admin-query(8), myproxy-server(8)
and that's the whole page, bestie. MyProxy, dated 2010-09-09 β yes she's been iconic since 2010 and she's still serving. mwah. π
π¦ where this page comes from
- debian bookworm: myproxy 6.2.14-2+b2 Β· NCSA
- debian trixie: myproxy 6.2.16-4 Β· NCSA
- epel 10: myproxy 6.2.20-1.el10_2 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- epel 9: myproxy 6.2.20-1.el9 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- fedora 43: myproxy 6.2.16-10.fc43 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- fedora 43: myproxy 6.2.20-1.fc43 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- fedora 44: myproxy 6.2.20-2.fc44 Β· NCSA AND BSD-4-Clause AND BSD-2-Clause AND Apache-2.0
- ubuntu jammy: myproxy 6.2.9-2 Β· NCSA
- ubuntu noble: myproxy 6.2.16-2build2 Β· NCSA
- ubuntu questing: myproxy 6.2.16-4
- ubuntu resolute: myproxy 6.2.20-1 Β· NCSA
- ubuntu stonking: myproxy 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