1 .\" $NetBSD: kcm.8,v 1.4 2014/04/24 13:45:33 pettai Exp $
3 .\" Copyright (c) 2005 Kungliga Tekniska Högskolan
4 .\" (Royal Institute of Technology, Stockholm, Sweden).
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" 3. Neither the name of the Institute nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
41 .Nd process-based credential cache for Kerberos tickets.
44 .Op Fl Fl cache-name= Ns Ar cachename
45 .Oo Fl c Ar file \*(Ba Xo
46 .Fl Fl config-file= Ns Ar file
49 .Oo Fl g Ar group \*(Ba Xo
50 .Fl Fl group= Ns Ar group
53 .Op Fl Fl max-request= Ns Ar size
54 .Op Fl Fl disallow-getting-krbtgt
57 .Oo Fl k Ar principal \*(Ba Xo
58 .Fl Fl system-principal= Ns Ar principal
61 .Oo Fl l Ar time \*(Ba Xo
62 .Fl Fl lifetime= Ns Ar time
65 .Oo Fl m Ar mode \*(Ba Xo
66 .Fl Fl mode= Ns Ar mode
69 .Op Fl n | Fl Fl no-name-constraints
70 .Oo Fl r Ar time \*(Ba Xo
71 .Fl Fl renewable-life= Ns Ar time
74 .Oo Fl s Ar path \*(Ba Xo
75 .Fl Fl socket-path= Ns Ar path
79 .Fl Fl door-path= Ns Ar path
82 .Oo Fl S Ar principal \*(Ba Xo
83 .Fl Fl server= Ns Ar principal
86 .Oo Fl t Ar keytab \*(Ba Xo
87 .Fl Fl keytab= Ns Ar keytab
90 .Oo Fl u Ar user \*(Ba Xo
91 .Fl Fl user= Ns Ar user
94 .Op Fl v | Fl Fl version
97 is a process based credential cache.
100 enviroment variable to
106 default_cc_name = KCM:%{uid}
111 configuration file and make sure
113 is started in the system startup files.
117 daemon can hold the credentials for all users in the system. Access
118 control is done with Unix-like permissions. The daemon checks the
119 access on all operations based on the uid and gid of the user. The
120 tickets are renewed as long as is permitted by the KDC's policy.
124 daemon can also keep a SYSTEM credential that server processes can
125 use to access services. One example of usage might be an nss_ldap
126 module that quickly needs to get credentials and doesn't want to renew
131 .It Fl Fl cache-name= Ns Ar cachename
133 .It Fl c Ar file , Fl Fl config-file= Ns Ar file
134 location of config file
135 .It Fl g Ar group , Fl Fl group= Ns Ar group
137 .It Fl Fl max-request= Ns Ar size
138 max size for a kcm-request
139 .It Fl Fl disallow-getting-krbtgt
140 disallow extracting any krbtgt from the
145 .It Fl h , Fl Fl help
146 .It Fl k Ar principal , Fl Fl system-principal= Ns Ar principal
147 system principal name
148 .It Fl l Ar time , Fl Fl lifetime= Ns Ar time
149 lifetime of system tickets
150 .It Fl m Ar mode , Fl Fl mode= Ns Ar mode
151 octal mode of system cache
152 .It Fl n , Fl Fl no-name-constraints
153 disable credentials cache name constraints
154 .It Fl r Ar time , Fl Fl renewable-life= Ns Ar time
155 renewable lifetime of system tickets
156 .It Fl s Ar path , Fl Fl socket-path= Ns Ar path
157 path to kcm domain socket
158 .It Fl Fl door-path= Ns Ar path
159 path to kcm door socket
160 .It Fl S Ar principal , Fl Fl server= Ns Ar principal
161 server to get system ticket for
162 .It Fl t Ar keytab , Fl Fl keytab= Ns Ar keytab
164 .It Fl u Ar user , Fl Fl user= Ns Ar user
166 .It Fl v , Fl Fl version