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 ✨ --principal wins 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 --help and --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