GLOBUS-K5(8)

πŸ’… GLOBUS-K5(8) β€” globus-k5

okay bestie, so this is a page from the Grid Community Toolkit Manual, and it's all about a little program called globus-k5. grab a snack, we're doing Kerberos today ✨


🌸 NAME 🌸

globus-k5 β€” Acquire Kerberos Credentials for use with Grid Services

like, it goes and gets you Kerberos credentials so your Grid Services can actually do their thing. no credentials, no service. periodt. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

globus-k5 SERVICE-COMMAND SERVICE-ARGS...

πŸ¦‹ DESCRIPTION πŸ¦‹

so the globus-k5 program is an authorization module β€” it's used by the globus-gatekeeper program to acquire Kerberos 5 Credentials before it runs a Grid Service. like, it's the little pre-game ritual. πŸ’–

and there's a few ways it can do that whole "acquire the credentials" thing:

  • running kinit with a password stored in the globuskmap file
  • using the NCSA krb525 command
  • using the sslk5 command to use the X509 user proxy

now, the arguments you pass to globus-k5? it literally does not use them itself. it just passes them along to the job manager. so don't stress. the first parameter must be the path to the Grid Service though β€” that part matters fr fr.

it's also expecting your environment to already have the variables GLOBUSID and USER in it β€” those are your Grid identity and your local POSIX user identity. this program is normally run as root, and it will call seteuid() before it executes the Grid Service. main character energy honestly πŸ‘‘

and where does it find the parameters to use and the mapping from globus to K5 user? the globuskmap file, obviously. πŸ’

✨ Format of the globuskmap file ✨

the globuskmap file is line-oriented β€” every line has a command to run that acquires Kerberos 5 credentials for a Grid identity.

each line is made of:

  • an optionally-quoted GLOBUSID value
  • followed by a command-line for running a process to acquire a Kerberos credential

for example:

"/O=Example/OU=Grid/CN=Joe User" /usr/afsws/bin/klog -principal juser -password mypasswd -cell infn.it

see? quoted identity, then the command. iconic. πŸ“


🌈 ENVIRONMENT 🌈

these are the variables that affect how globus-k5 runs, bestie:

  • GLOBUSKMAP β€” Path to the globuskmap file.
  • USER β€” POSIX username that the service will run as.
  • KRB5CCNAME β€” Path to a Kerberos credential cache.
  • GLOBUS_ID β€” Grid identity to generate Kerberos credentials for.

πŸ’œ FILES πŸ’œ

and these files affect how globus-k5 runs too:

  • /etc/globuskmap β€” Default file mapping Grid identities to Kerberos 5 principals.

πŸ”₯ SEE ALSO πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Copyright Β© 1999-2016 University of Chicago


okay that's the whole page, you ate it, go get those credentials πŸ’–

this was the Grid Community Toolkit 6 version, dated 03/31/2018. mwah, bye bestie 🫢✨