1KADMIND(8) BSD System Manager's Manual KADMIND(8)
2
4 kadmind — server for administrative access to Kerberos database
5
7 kadmind [-c file | --config-file=file] [-k file | --key-file=file]
8 [--keytab=keytab] [-r realm | --realm=realm] [-d | --debug] [-p
9 port | --ports=port]
10
12 kadmind listens for requests for changes to the Kerberos database and
13 performs these, subject to permissions. When starting, if stdin is a
14 socket it assumes that it has been started by inetd(8), otherwise it
15 behaves as a daemon, forking processes for each new connection. The
16 --debug option causes kadmind to accept exactly one connection, which is
17 useful for debugging.
18
19 The kpasswdd(8) daemon is responsible for the Kerberos 5 password chang‐
20 ing protocol (used by kpasswd(1)).
21
22 This daemon should only be run on the master server, and not on any
23 slaves.
24
25 Principals are always allowed to change their own password and list their
26 own principal. Apart from that, doing any operation requires permission
27 explicitly added in the ACL file /var/heimdal/kadmind.acl. The format of
28 this file is:
29
30 principal rights [principal-pattern]
31
32 Where rights is any (comma separated) combination of:
33 · change-password or cpw
34 · list
35 · delete
36 · modify
37 · add
38 · get
39 · get-keys
40 · all
41
42 And the optional principal-pattern restricts the rights to operations on
43 principals that match the glob-style pattern.
44
45 Supported options:
46
47 -c file, --config-file=file
48 location of config file
49
50 -k file, --key-file=file
51 location of master key file
52
53 --keytab=keytab
54 what keytab to use
55
56 -r realm, --realm=realm
57 realm to use
58
59 -d, --debug
60 enable debugging
61
62 -p port, --ports=port
63 ports to listen to. By default, if run as a daemon, it listens to
64 port 749, but you can add any number of ports with this option.
65 The port string is a whitespace separated list of port specifica‐
66 tions, with the special string “+” representing the default port.
67
69 /var/heimdal/kadmind.acl
70
72 This will cause kadmind to listen to port 4711 in addition to any com‐
73 piled in defaults:
74
75 kadmind --ports="+ 4711" &
76
77 This acl file will grant Joe all rights, and allow Mallory to view and
78 add host principals, as well as extract host principal keys (e.g., into
79 keytabs).
80
81 joe/admin@EXAMPLE.COM all
82 mallory/admin@EXAMPLE.COM add,get-keys host/*@EXAMPLE.COM
83
85 kpasswd(1), kadmin(1), kdc(8), kpasswdd(8)
86
87HEIMDAL December 8, 2004 HEIMDAL