source: heimdal/trunk/appl/afsutil/afslog.cat1@ 4

Last change on this file since 4 was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

File size: 3.1 KB
Line 
1
2AFSLOG(1) BSD General Commands Manual AFSLOG(1)
3
4NNAAMMEE
5 aaffsslloogg -- obtain AFS tokens
6
7SSYYNNOOPPSSIISS
8 aaffsslloogg [--hh | ----hheellpp] [----nnoo--vv44] [----nnoo--vv55] [--uu | ----uunnlloogg] [--vv | ----vveerrbboossee]
9 [----vveerrssiioonn] [--cc _c_e_l_l | ----cceellll==_c_e_l_l] [--kk _r_e_a_l_m | ----rreeaallmm==_r_e_a_l_m] [--PP
10 _p_r_i_n_c_i_p_a_l | ----pprriinncciippaall==_p_r_i_n_c_i_p_a_l] [--pp _p_a_t_h | ----ffiillee==_p_a_t_h]
11 [_c_e_l_l | _p_a_t_h _._._.]
12
13DDEESSCCRRIIPPTTIIOONN
14 aaffsslloogg obtains AFS tokens for a number of cells. What cells to get tokens
15 for can either be specified as an explicit list, as file paths to get
16 tokens for, or be left unspecified, in which case aaffsslloogg will use what-
17 ever magic krb_afslog(3) decides upon.
18
19 Supported options:
20
21 ----nnoo--vv44
22 This makes aaffsslloogg not try using Kerberos 4.
23
24 ----nnoo--vv55
25 This makes aaffsslloogg not try using Kerberos 5.
26
27 --PP _p_r_i_n_c_i_p_a_l, ----pprriinncciippaall _p_r_i_n_c_i_p_a_l
28 select what Kerberos 5 principal to use.
29
30 ----ccaacchhee _c_a_c_h_e
31 select what Kerberos 5 credential cache to use. ----pprriinncciippaall
32 overrides this option.
33
34 --uu, ----uunnlloogg
35 Destroy tokens instead of obtaining new. If this is specified,
36 all other options are ignored (except for ----hheellpp and ----vveerrssiioonn).
37
38 --vv, ----vveerrbboossee
39 Adds more verbosity for what is actually going on.
40
41 --cc _c_e_l_l_, ----cceellll==_c_e_l_l
42 This specified one or more cell names to get tokens for.
43
44 --kk _r_e_a_l_m, ----rreeaallmm==_r_e_a_l_m
45 This is the Kerberos realm the AFS servers live in, this should
46 normally not be specified.
47
48 --pp _p_a_t_h, ----ffiillee==_p_a_t_h
49 This specified one or more file paths for which tokens should be
50 obtained.
51
52 Instead of using --cc and --pp, you may also pass a list of cells and file
53 paths after any other options. These arguments are considered files if
54 they are either the strings ``.'' or ``..'' or they contain a slash, or
55 if there exists a file by that name.
56
57EEXXAAMMPPLLEESS
58 Assuming that there is no file called ``openafs.org'' in the current
59 directory, and that _/_a_f_s_/_o_p_e_n_a_f_s_._o_r_g points to that cell, the follwing
60 should be identical:
61
62 $ afslog -c openafs.org
63 $ afslog openafs.org
64 $ afslog /afs/openafs.org/some/file
65
66SSEEEE AALLSSOO
67 krb_afslog(3)
68
69HEIMDAL November 26, 2002 HEIMDAL
Note: See TracBrowser for help on using the repository browser.