1AFSLOG(1)                 BSD General Commands Manual                AFSLOG(1)
2

NAME

4     afslog — obtain AFS tokens
5

SYNOPSIS

7     afslog [-h | --help] [--no-v5] [-u | --unlog] [-v | --verbose]
8            [--version] [-c cell | --cell=cell] [-k realm | --realm=realm] [-P
9            principal | --principal=principal] [-p path | --file=path]
10            [cell | path ...]
11

DESCRIPTION

13     afslog obtains AFS tokens for a number of cells. What cells to get tokens
14     for can either be specified as an explicit list, as file paths to get
15     tokens for, or be left unspecified, in which case afslog will use what‐
16     ever magic krb_afslog(3) decides upon.
17
18     Supported options:
19
20     --no-v5
21             This makes afslog not try using Kerberos 5.
22
23     -P principal, --principal principal
24             select what Kerberos 5 principal to use.
25
26     --cache cache
27             select what Kerberos 5 credential cache to use.  --principal
28             overrides this option.
29
30     -u, --unlog
31             Destroy tokens instead of obtaining new. If this is specified,
32             all other options are ignored (except for --help and --version).
33
34     -v, --verbose
35             Adds more verbosity for what is actually going on.
36
37     -c cell, --cell=cell
38             This specified one or more cell names to get tokens for.
39
40     -k realm, --realm=realm
41             This is the Kerberos realm the AFS servers live in, this should
42             normally not be specified.
43
44     -p path, --file=path
45             This specified one or more file paths for which tokens should be
46             obtained.
47
48     Instead of using -c and -p, you may also pass a list of cells and file
49     paths after any other options. These arguments are considered files if
50     they are either the strings “.”  or “..” or they contain a slash, or if
51     there exists a file by that name.
52

EXAMPLES

54     Assuming that there is no file called “openafs.org” in the current direc‐
55     tory, and that /afs/openafs.org points to that cell, the follwing should
56     be identical:
57
58           $ afslog -c openafs.org
59           $ afslog openafs.org
60           $ afslog /afs/openafs.org/some/file
61

SEE ALSO

63     krb_afslog(3)
64
65HEIMDAL                        November 26, 2002                       HEIMDAL
Impressum