PAGSH(1)

✨ PAGSH(1) ✨

okay bestie, so this is pagsh from the General Commands Manual β€” and it is literally the main character of credential cache isolation. let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

pagsh β€” creates a new credential cache sandbox


🌸 SYNOPSIS 🌸

pagsh [-c command-string] [-h | --help] [--version]
      [--cache-type=string] command [args...]

πŸ¦‹ DESCRIPTION πŸ¦‹

Supported options:

  • -c command-string β€” Executes command(s) contained in command-string.
  • --cache-type=string
  • -h, --help
  • --version

pagsh creates a brand new credential cache sandbox for the user to live in. yes bestie, a whole separate lil universe just for your credentials 🫢

If AFS is installed on the computer, the user is put in a newly created Process Authentication Group (PAG). iconic behavior tbh.

For Kerberos 5, the credential cache type that gets used is the same as the credential cache type that was used at the time of the pagsh invocation. the way that it just inherits your whole vibe?? and if you wanna control it yourself, the credential cache type can be controlled by the option --cache-type. you have ✨options✨


🌈 EXAMPLES 🌈

Create a new sandbox where new credentials can be used, while the old credentials can be used by other processes. no cap, this is the whole point πŸ’–

$ klist
Credentials cache: FILE:/tmp/krb5cc_913
        Principal: lha@E.KTH.SE

  Issued           Expires          Principal
Feb 12 10:08:31  Feb 12 20:06:36  krbtgt/E.KTH.SE@E.KTH.SE
$ pagsh
$ klist
klist: No ticket file: /tmp/krb5cc_03014a

like… not the fresh sandbox having zero tickets 😭 that's the point though, the old ones are still chilling somewhere else for your other processes. slay.


πŸ‘‘ SEE ALSO πŸ‘‘

afslog(1), kinit(1)


and that's the whole page, bestie!! πŸ’œβœ¨ this one came from Debian, dated February 12, 2005 β€” and it's the PAGSH(1) page, so you know exactly where to find it again. go forth and sandbox responsibly πŸŽ€πŸ¦‹