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:
-ccommand-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 π
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 ππ¦
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- Copyright (c) 2005 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms