Merge from vendor branch BSDTAR:
[dragonfly.git] / crypto / heimdal-0.6.3 / admin / ktutil.cat8
1
2 KTUTIL(8)                UNIX System Manager's Manual                KTUTIL(8)
3
4 N\bNA\bAM\bME\bE
5      k\bkt\btu\but\bti\bil\bl - manage Kerberos keytabs
6
7 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
8      k\bkt\btu\but\bti\bil\bl [-\b-k\bk _\bk_\be_\by_\bt_\ba_\bb | -\b--\b-k\bke\bey\byt\bta\bab\bb=\b=_\bk_\be_\by_\bt_\ba_\bb] [-\b-v\bv | -\b--\b-v\bve\ber\brb\bbo\bos\bse\be] [-\b--\b-v\bve\ber\brs\bsi\bio\bon\bn] [-\b-h\bh |
9      -\b--\b-h\bhe\bel\blp\bp] _\bc_\bo_\bm_\bm_\ba_\bn_\bd [_\ba_\br_\bg_\bs]
10
11 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
12      k\bkt\btu\but\bti\bil\bl is a program for managing keytabs.  Supported options:
13
14      -\b-v\bv, -\b--\b-v\bve\ber\brb\bbo\bos\bse\be
15              Verbose output.
16
17      _\bc_\bo_\bm_\bm_\ba_\bn_\bd can be one of the following:
18
19      add [-\b-p\bp _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl] [-\b--\b-p\bpr\bri\bin\bnc\bci\bip\bpa\bal\bl=\b=_\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl] [-\b-V\bV _\bk_\bv_\bn_\bo] [-\b--\b-k\bkv\bvn\bno\bo=\b=_\bk_\bv_\bn_\bo] [-\b-e\be
20                  _\be_\bn_\bc_\bt_\by_\bp_\be] [-\b--\b-e\ben\bnc\bct\bty\byp\bpe\be=\b=_\be_\bn_\bc_\bt_\by_\bp_\be] [-\b-w\bw _\bp_\ba_\bs_\bs_\bw_\bo_\br_\bd]
21                  [-\b--\b-p\bpa\bas\bss\bsw\bwo\bor\brd\bd=\b=_\bp_\ba_\bs_\bs_\bw_\bo_\br_\bd] [-\b-r\br] [-\b--\b-r\bra\ban\bnd\bdo\bom\bm] [-\b-s\bs] [-\b--\b-n\bno\bo-\b-s\bsa\bal\blt\bt]
22                  Adds a key to the keytab. Options that are not specified will
23                  be prompted for. This requires that you know the password of
24                  the principal to add; if what you really want is to add a new
25                  principal to the keytab, you should consider the _\bg_\be_\bt command,
26                  which talks to the kadmin server.
27
28      change [-\b-r\br _\br_\be_\ba_\bl_\bm] [-\b--\b-r\bre\bea\bal\blm\bm=\b=_\br_\be_\ba_\bl_\bm] [-\b--\b-a\ba _\bh_\bo_\bs_\bt] [-\b--\b-a\bad\bdm\bmi\bin\bn-\b-s\bse\ber\brv\bve\ber\br=\b=_\bh_\bo_\bs_\bt] [-\b--\b-s\bs
29                  _\bp_\bo_\br_\bt] [-\b--\b-s\bse\ber\brv\bve\ber\br-\b-p\bpo\bor\brt\bt=\b=_\bp_\bo_\br_\bt]
30                  Update one or several keys to new versions.  By default, use
31                  the admin server for the realm of a keytab entry.  Otherwise
32                  it will use the values specified by the options.
33
34                  If no principals are given, all the ones in the keytab are
35                  updated.
36
37      copy _\bk_\be_\by_\bt_\ba_\bb_\b-_\bs_\br_\bc _\bk_\be_\by_\bt_\ba_\bb_\b-_\bd_\be_\bs_\bt
38                  Copies all the entries from _\bk_\be_\by_\bt_\ba_\bb_\b-_\bs_\br_\bc to _\bk_\be_\by_\bt_\ba_\bb_\b-_\bd_\be_\bs_\bt.
39
40      get [-\b-p\bp _\ba_\bd_\bm_\bi_\bn _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl] [-\b--\b-p\bpr\bri\bin\bnc\bci\bip\bpa\bal\bl=\b=_\ba_\bd_\bm_\bi_\bn _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl] [-\b-e\be _\be_\bn_\bc_\bt_\by_\bp_\be]
41                  [-\b--\b-e\ben\bnc\bct\bty\byp\bpe\bes\bs=\b=_\be_\bn_\bc_\bt_\by_\bp_\be] [-\b-r\br _\br_\be_\ba_\bl_\bm] [-\b--\b-r\bre\bea\bal\blm\bm=\b=_\br_\be_\ba_\bl_\bm] [-\b-a\ba _\ba_\bd_\bm_\bi_\bn
42                  _\bs_\be_\br_\bv_\be_\br] [-\b--\b-a\bad\bdm\bmi\bin\bn-\b-s\bse\ber\brv\bve\ber\br=\b=_\ba_\bd_\bm_\bi_\bn _\bs_\be_\br_\bv_\be_\br] [-\b-s\bs _\bs_\be_\br_\bv_\be_\br _\bp_\bo_\br_\bt]
43                  [-\b--\b-s\bse\ber\brv\bve\ber\br-\b-p\bpo\bor\brt\bt=\b=_\bs_\be_\br_\bv_\be_\br _\bp_\bo_\br_\bt] _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl _\b._\b._\b.
44                  For each _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl, generate a new key for it (creating it if
45                  it doesn't already exist), and put that key in the keytab.
46
47                  If no _\br_\be_\ba_\bl_\bm is specified, the realm to operate on is taken
48                  from the first principal.
49
50      list [-\b--\b-k\bke\bey\bys\bs] [-\b--\b-t\bti\bim\bme\bes\bst\bta\bam\bmp\bp]
51                  List the keys stored in the keytab.
52
53      remove [-\b-p\bp _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl] [-\b--\b-p\bpr\bri\bin\bnc\bci\bip\bpa\bal\bl=\b=_\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl] [-\b-V\bV -\b-k\bkv\bvn\bno\bo] [-\b--\b-k\bkv\bvn\bno\bo=\b=_\bk_\bv_\bn_\bo]
54                  [-\b-e\be -\b-e\ben\bnc\bct\bty\byp\bpe\be] [-\b--\b-e\ben\bnc\bct\bty\byp\bpe\be=\b=_\be_\bn_\bc_\bt_\by_\bp_\be]
55                  Removes the specified key or keys. Not specifying a _\bk_\bv_\bn_\bo re-
56                  moves keys with any version number. Not specifying an _\be_\bn_\bc_\bt_\by_\bp_\be
57                  removes keys of any type.
58
59      rename _\bf_\br_\bo_\bm_\b-_\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl _\bt_\bo_\b-_\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl
60                  Renames all entries in the keytab that match the _\bf_\br_\bo_\bm_\b-
61                  _\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl to _\bt_\bo_\b-_\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl.
62
63      purge [-\b--\b-a\bag\bge\be=\b=_\ba_\bg_\be]
64                  Removes all old entries (for which there is a newer version)
65
66                  that are older than _\ba_\bg_\be (default one week).
67
68      srvconvert
69
70      srv2keytab [-\b-s\bs _\bs_\br_\bv_\bt_\ba_\bb] [-\b--\b-s\bsr\brv\bvt\bta\bab\bb=\b=_\bs_\br_\bv_\bt_\ba_\bb]
71                  Converts the version 4 srvtab in _\bs_\br_\bv_\bt_\ba_\bb to a version 5 keytab
72                  and stores it in _\bk_\be_\by_\bt_\ba_\bb. Identical to:
73
74                        ktutil copy krb4:_\bs_\br_\bv_\bt_\ba_\bb _\bk_\be_\by_\bt_\ba_\bb
75
76      srvcreate
77
78      key2srvtab [-\b-s\bs _\bs_\br_\bv_\bt_\ba_\bb] [-\b--\b-s\bsr\brv\bvt\bta\bab\bb=\b=_\bs_\br_\bv_\bt_\ba_\bb]
79                  Converts the version 5 keytab in _\bk_\be_\by_\bt_\ba_\bb to a version 4 srvtab
80                  and stores it in _\bs_\br_\bv_\bt_\ba_\bb. Identical to:
81
82                        ktutil copy _\bk_\be_\by_\bt_\ba_\bb krb4:_\bs_\br_\bv_\bt_\ba_\bb
83
84 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
85      kadmin(8)
86
87  HEIMDAL                       December 16, 2000                             2