Usage: afslog [-uvh] [--cell=cell]... [-c cell]... [--file=path]... [-p path]... [--realm=realm]
[-k realm] [--unlog] [--principal=principal] [-P principal] [--cache=cache] [--no-v5] [--verbose]
[--version] [--help] [cell|path]...
-c cell, --cell=cell cells to get tokens for
-p path, --file=path files to get tokens for
-k realm, --realm=realm realm for afs cell
-u, --unlog remove tokens
-P principal, --principal=principal principal to use
--cache=cache ccache to use
--no-v5 don't use Kerberos 5
Options (8)
| Option | Description | Source |
|---|
-c, --cell cell | This specified one or more cell names to get tokens for. | help + man |
-p, --file path | This specified one or more file paths for which tokens should be obtained. | help + man |
-k, --realm realm | This is the Kerberos realm the AFS servers live in, this should normally not be specified. | help + man |
-u, --unlog | Destroy tokens instead of obtaining new. | help + man |
--cache cache | select what Kerberos 5 credential cache to use. | help + man |
--no-v5 | This makes afslog not try using Kerberos 5. | help + man |
-P, --principal principal | select what Kerberos 5 principal to use. (in the manual page but not in --help) | man |
-v, --verbose | Adds more verbosity for what is actually going on. (in the manual page but not in --help) | man |
Examples (3) from the manual page, untested
afslog -c openafs.org
Assuming that there is no file called “openafs.org” in the current directory, and that /afs/openafs.org points to that cell, the follwing should be identical:afslog openafs.org
Assuming that there is no file called “openafs.org” in the current directory, and that /afs/openafs.org points to that cell, the follwing should be identical:afslog /afs/openafs.org/some/file
Assuming that there is no file called “openafs.org” in the current directory, and that /afs/openafs.org points to that cell, the follwing should be identical:
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.