xref: /minix3/crypto/external/bsd/heimdal/dist/kadmin/kadmind.8 (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc.\"	$NetBSD: kadmind.8,v 1.4 2014/04/24 13:45:33 pettai Exp $
2ebfedea0SLionel Sambuc.\"
3ebfedea0SLionel Sambuc.\" Copyright (c) 2002 - 2004 Kungliga Tekniska Högskolan
4ebfedea0SLionel Sambuc.\" (Royal Institute of Technology, Stockholm, Sweden).
5ebfedea0SLionel Sambuc.\" All rights reserved.
6ebfedea0SLionel Sambuc.\"
7ebfedea0SLionel Sambuc.\" Redistribution and use in source and binary forms, with or without
8ebfedea0SLionel Sambuc.\" modification, are permitted provided that the following conditions
9ebfedea0SLionel Sambuc.\" are met:
10ebfedea0SLionel Sambuc.\"
11ebfedea0SLionel Sambuc.\" 1. Redistributions of source code must retain the above copyright
12ebfedea0SLionel Sambuc.\"    notice, this list of conditions and the following disclaimer.
13ebfedea0SLionel Sambuc.\"
14ebfedea0SLionel Sambuc.\" 2. Redistributions in binary form must reproduce the above copyright
15ebfedea0SLionel Sambuc.\"    notice, this list of conditions and the following disclaimer in the
16ebfedea0SLionel Sambuc.\"    documentation and/or other materials provided with the distribution.
17ebfedea0SLionel Sambuc.\"
18ebfedea0SLionel Sambuc.\" 3. Neither the name of the Institute nor the names of its contributors
19ebfedea0SLionel Sambuc.\"    may be used to endorse or promote products derived from this software
20ebfedea0SLionel Sambuc.\"    without specific prior written permission.
21ebfedea0SLionel Sambuc.\"
22ebfedea0SLionel Sambuc.\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
23ebfedea0SLionel Sambuc.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24ebfedea0SLionel Sambuc.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25ebfedea0SLionel Sambuc.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
26ebfedea0SLionel Sambuc.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27ebfedea0SLionel Sambuc.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28ebfedea0SLionel Sambuc.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29ebfedea0SLionel Sambuc.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30ebfedea0SLionel Sambuc.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31ebfedea0SLionel Sambuc.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32ebfedea0SLionel Sambuc.\" SUCH DAMAGE.
33ebfedea0SLionel Sambuc.\"
34ebfedea0SLionel Sambuc.\" Id
35ebfedea0SLionel Sambuc.\"
36ebfedea0SLionel Sambuc.Dd December  8, 2004
37ebfedea0SLionel Sambuc.Dt KADMIND 8
38ebfedea0SLionel Sambuc.Os
39ebfedea0SLionel Sambuc.Sh NAME
40ebfedea0SLionel Sambuc.Nm kadmind
41ebfedea0SLionel Sambuc.Nd "server for administrative access to Kerberos database"
42ebfedea0SLionel Sambuc.Sh SYNOPSIS
43ebfedea0SLionel Sambuc.Nm
44ebfedea0SLionel Sambuc.Bk -words
45ebfedea0SLionel Sambuc.Oo Fl c Ar file \*(Ba Xo
46*0a6a1f1dSLionel Sambuc.Fl Fl config-file= Ns Ar file
47ebfedea0SLionel Sambuc.Xc
48ebfedea0SLionel Sambuc.Oc
49ebfedea0SLionel Sambuc.Oo Fl k Ar file \*(Ba Xo
50*0a6a1f1dSLionel Sambuc.Fl Fl key-file= Ns Ar file
51ebfedea0SLionel Sambuc.Xc
52ebfedea0SLionel Sambuc.Oc
53*0a6a1f1dSLionel Sambuc.Op Fl Fl keytab= Ns Ar keytab
54ebfedea0SLionel Sambuc.Oo Fl r Ar realm \*(Ba Xo
55*0a6a1f1dSLionel Sambuc.Fl Fl realm= Ns Ar realm
56ebfedea0SLionel Sambuc.Xc
57ebfedea0SLionel Sambuc.Oc
58*0a6a1f1dSLionel Sambuc.Op Fl d | Fl Fl debug
59ebfedea0SLionel Sambuc.Oo Fl p Ar port \*(Ba Xo
60*0a6a1f1dSLionel Sambuc.Fl Fl ports= Ns Ar port
61ebfedea0SLionel Sambuc.Xc
62ebfedea0SLionel Sambuc.Oc
63ebfedea0SLionel Sambuc.Ek
64ebfedea0SLionel Sambuc.Sh DESCRIPTION
65ebfedea0SLionel Sambuc.Nm
66ebfedea0SLionel Sambuclistens for requests for changes to the Kerberos database and performs
67ebfedea0SLionel Sambucthese, subject to permissions.  When starting, if stdin is a socket it
68ebfedea0SLionel Sambucassumes that it has been started by
69ebfedea0SLionel Sambuc.Xr inetd 8 ,
70ebfedea0SLionel Sambucotherwise it behaves as a daemon, forking processes for each new
71ebfedea0SLionel Sambucconnection. The
72*0a6a1f1dSLionel Sambuc.Fl Fl debug
73ebfedea0SLionel Sambucoption causes
74ebfedea0SLionel Sambuc.Nm
75ebfedea0SLionel Sambucto accept exactly one connection, which is useful for debugging.
76ebfedea0SLionel Sambuc.Pp
77ebfedea0SLionel SambucThe
78ebfedea0SLionel Sambuc.Xr kpasswdd 8
79ebfedea0SLionel Sambucdaemon is responsible for the Kerberos 5 password changing protocol
80ebfedea0SLionel Sambuc(used by
81ebfedea0SLionel Sambuc.Xr kpasswd 1 ) .
82ebfedea0SLionel Sambuc.Pp
83ebfedea0SLionel SambucThis daemon should only be run on the master server, and not on any
84ebfedea0SLionel Sambucslaves.
85ebfedea0SLionel Sambuc.Pp
86ebfedea0SLionel SambucPrincipals are always allowed to change their own password and list
87ebfedea0SLionel Sambuctheir own principal.  Apart from that, doing any operation requires
88ebfedea0SLionel Sambucpermission explicitly added in the ACL file
89ebfedea0SLionel Sambuc.Pa /var/heimdal/kadmind.acl .
90ebfedea0SLionel SambucThe format of this file is:
91ebfedea0SLionel Sambuc.Bd -ragged
92ebfedea0SLionel Sambuc.Va principal
93ebfedea0SLionel Sambuc.Va rights
94ebfedea0SLionel Sambuc.Op Va principal-pattern
95ebfedea0SLionel Sambuc.Ed
96ebfedea0SLionel Sambuc.Pp
97ebfedea0SLionel SambucWhere rights is any (comma separated) combination of:
98ebfedea0SLionel Sambuc.Bl -bullet -compact
99ebfedea0SLionel Sambuc.It
100ebfedea0SLionel Sambucchange-password or cpw
101ebfedea0SLionel Sambuc.It
102ebfedea0SLionel Sambuclist
103ebfedea0SLionel Sambuc.It
104ebfedea0SLionel Sambucdelete
105ebfedea0SLionel Sambuc.It
106ebfedea0SLionel Sambucmodify
107ebfedea0SLionel Sambuc.It
108ebfedea0SLionel Sambucadd
109ebfedea0SLionel Sambuc.It
110ebfedea0SLionel Sambucget
111ebfedea0SLionel Sambuc.It
112ebfedea0SLionel Sambucall
113ebfedea0SLionel Sambuc.El
114ebfedea0SLionel Sambuc.Pp
115ebfedea0SLionel SambucAnd the optional
116ebfedea0SLionel Sambuc.Ar principal-pattern
117ebfedea0SLionel Sambucrestricts the rights to operations on principals that match the
118ebfedea0SLionel Sambucglob-style pattern.
119ebfedea0SLionel Sambuc.Pp
120ebfedea0SLionel SambucSupported options:
121ebfedea0SLionel Sambuc.Bl -tag -width Ds
122*0a6a1f1dSLionel Sambuc.It Fl c Ar file , Fl Fl config-file= Ns Ar file
123ebfedea0SLionel Sambuclocation of config file
124*0a6a1f1dSLionel Sambuc.It Fl k Ar file , Fl Fl key-file= Ns Ar file
125ebfedea0SLionel Sambuclocation of master key file
126*0a6a1f1dSLionel Sambuc.It Fl Fl keytab= Ns Ar keytab
127ebfedea0SLionel Sambucwhat keytab to use
128*0a6a1f1dSLionel Sambuc.It Fl r Ar realm , Fl Fl realm= Ns Ar realm
129ebfedea0SLionel Sambucrealm to use
130*0a6a1f1dSLionel Sambuc.It Fl d , Fl Fl debug
131ebfedea0SLionel Sambucenable debugging
132*0a6a1f1dSLionel Sambuc.It Fl p Ar port , Fl Fl ports= Ns Ar port
133ebfedea0SLionel Sambucports to listen to. By default, if run as a daemon, it listens to port
134ebfedea0SLionel Sambuc749, but you can add any number of ports with this option. The port
135ebfedea0SLionel Sambucstring is a whitespace separated list of port specifications, with the
136ebfedea0SLionel Sambucspecial string
137ebfedea0SLionel Sambuc.Dq +
138ebfedea0SLionel Sambucrepresenting the default port.
139ebfedea0SLionel Sambuc.El
140ebfedea0SLionel Sambuc.\".Sh ENVIRONMENT
141ebfedea0SLionel Sambuc.Sh FILES
142ebfedea0SLionel Sambuc.Pa /var/heimdal/kadmind.acl
143ebfedea0SLionel Sambuc.Sh EXAMPLES
144ebfedea0SLionel SambucThis will cause
145ebfedea0SLionel Sambuc.Nm
146ebfedea0SLionel Sambucto listen to port 4711 in addition to any
147ebfedea0SLionel Sambuccompiled in defaults:
148ebfedea0SLionel Sambuc.Pp
149*0a6a1f1dSLionel Sambuc.D1 Nm Fl Fl ports Ns Li "=\*[q]+ 4711\*[q] &"
150ebfedea0SLionel Sambuc.Pp
151ebfedea0SLionel SambucThis acl file will grant Joe all rights, and allow Mallory to view and
152ebfedea0SLionel Sambucadd host principals.
153ebfedea0SLionel Sambuc.Bd -literal -offset indent
154ebfedea0SLionel Sambucjoe/admin@EXAMPLE.COM      all
155ebfedea0SLionel Sambucmallory/admin@EXAMPLE.COM  add,get  host/*@EXAMPLE.COM
156ebfedea0SLionel Sambuc.Ed
157ebfedea0SLionel Sambuc.\".Sh DIAGNOSTICS
158ebfedea0SLionel Sambuc.Sh SEE ALSO
159ebfedea0SLionel Sambuc.Xr kpasswd 1 ,
160ebfedea0SLionel Sambuc.Xr kadmin 8 ,
161ebfedea0SLionel Sambuc.Xr kdc 8 ,
162ebfedea0SLionel Sambuc.Xr kpasswdd 8
163