AFSLOG(1)
β¨ AFSLOG β¨ π
Okay bestie, so afslog is the tool that grabs AFS tokens for you ππ¦ (manual name: afslog β obtain AFS tokens π
).
πΈ NAME πΈ
afslog β obtain AFS tokens β¨
π SYNOPSIS π
afslog [-h | --help] [--no-v5] [-u | --unlog] [-v | --verbose]
[--version] [-c cell | --cell=cell] [-k realm | --realm=realm]
[-P principal | --principal=principal] [-p path | --file=path]
[cell | path ...]
π DESCRIPTION π
Okay so afslog obtains AFS tokens for a whole bunch of cells π The cells you want can be given as an explicit list, as file paths to get tokens for, or you can leave it totally unspecified π
If you leave it blank, afslog just goes with whatever magic krb_afslog(3) decides on π§ It's giving main character energy, ngl π
Supported options:
--no-v5β This makes afslog skip trying Kerberos 5 π-P principal,--principal principalβ Picks which Kerberos 5 principal to use π«Ά--cache cacheβ Picks which Kerberos 5 credential cache to use β¨--principalwins over this one if you use both π-u,--unlogβ Destroys tokens instead of getting new ones π If you pass this, every other option gets ignored (except--helpand--version) π-v,--verboseβ Gives you more detail about what's actually happening π₯-c cell,--cell=cellβ Names one or more cells to get tokens for πΈ-k realm,--realm=realmβ The Kerberos realm the AFS servers live in π¦ You usually shouldn't need to set this one, bestie π-p path,--file=pathβ Names one or more file paths you want tokens for π§
Instead of using -c and -p, you can also just toss a list of cells and file paths after your other options π«Ά Anything counts as a file if it's the string "." or "..", if it has a slash in it, or if there's already a file by that name in the directory π
π¦ EXAMPLES π¦
Okay so, assuming there's no file called "openafs.org" in the current directory, and that /afs/openafs.org points to that cell, these should all be identical π:
$ afslog -c openafs.org
$ afslog openafs.org
$ afslog /afs/openafs.org/some/file
π SEE ALSO π
krb_afslog(3) π
Periodt, that's the whole manual π Written by Heimdal, November 26, 2002 πΈπ«Ά
π¦ 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
- debian bookworm: heimdal-clients 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-clients 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- epel 10: heimdal-workstation 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-workstation 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-workstation 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-workstation 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-workstation 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- ubuntu jammy: heimdal-clients 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-clients 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-clients 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-clients 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-clients 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2002 - 2007 Kungliga Tekniska HΓΆgskolan
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms