Debian Codegraph @

doc/html/user/user_commands/kdestroy.html

raw
1 <!DOCTYPE html>
2
3 <html lang="en" data-content_root="../../">
4 <head>
5 <meta charset="utf-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
7
8 <title>kdestroy &#8212; MIT Kerberos Documentation</title>
9 <link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
10 <link rel="stylesheet" type="text/css" href="../../_static/agogo.css?v=879f3c71" />
11 <link rel="stylesheet" type="text/css" href="../../_static/kerb.css?v=6a0b3979" />
12 <script src="../../_static/documentation_options.js?v=6dbce55c"></script>
13 <script src="../../_static/doctools.js?v=888ff710"></script>
14 <script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
15 <link rel="author" title="About these documents" href="../../about.html" />
16 <link rel="index" title="Index" href="../../genindex.html" />
17 <link rel="search" title="Search" href="../../search.html" />
18 <link rel="copyright" title="Copyright" href="../../copyright.html" />
19 <link rel="next" title="kinit" href="kinit.html" />
20 <link rel="prev" title="User commands" href="index.html" />
21 </head><body>
22 <div class="header-wrapper">
23 <div class="header">
24
25
26 <h1><a href="../../index.html">MIT Kerberos Documentation</a></h1>
27
28 <div class="rel">
29
30 <a href="../../index.html" title="Full Table of Contents"
31 accesskey="C">Contents</a> |
32 <a href="index.html" title="User commands"
33 accesskey="P">previous</a> |
34 <a href="kinit.html" title="kinit"
35 accesskey="N">next</a> |
36 <a href="../../genindex.html" title="General Index"
37 accesskey="I">index</a> |
38 <a href="../../search.html" title="Enter search criteria"
39 accesskey="S">Search</a> |
40 <a href="mailto:[email protected]?subject=Documentation__kdestroy">feedback</a>
41 </div>
42 </div>
43 </div>
44
45 <div class="content-wrapper">
46 <div class="content">
47 <div class="document">
48
49 <div class="documentwrapper">
50 <div class="bodywrapper">
51 <div class="body" role="main">
52
53 <section id="kdestroy">
54 <span id="kdestroy-1"></span><h1>kdestroy<a class="headerlink" href="#kdestroy" title="Link to this heading">¶</a></h1>
55 <section id="synopsis">
56 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Link to this heading">¶</a></h2>
57 <p><strong>kdestroy</strong>
58 [<strong>-A</strong>]
59 [<strong>-q</strong>]
60 [<strong>-c</strong> <em>cache_name</em>]
61 [<strong>-p</strong> <em>princ_name</em>]</p>
62 </section>
63 <section id="description">
64 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Link to this heading">¶</a></h2>
65 <p>The kdestroy utility destroys the user’s active Kerberos authorization
66 tickets by overwriting and deleting the credentials cache that
67 contains them. If the credentials cache is not specified, the default
68 credentials cache is destroyed.</p>
69 </section>
70 <section id="options">
71 <h2>OPTIONS<a class="headerlink" href="#options" title="Link to this heading">¶</a></h2>
72 <dl>
73 <dt><strong>-A</strong></dt><dd><p>Destroys all caches in the collection, if a cache collection is
74 available. May be used with the <strong>-c</strong> option to specify the
75 collection to be destroyed.</p>
76 </dd>
77 <dt><strong>-q</strong></dt><dd><p>Run quietly. Normally kdestroy beeps if it fails to destroy the
78 user’s tickets. The <strong>-q</strong> flag suppresses this behavior.</p>
79 </dd>
80 <dt><strong>-c</strong> <em>cache_name</em></dt><dd><p>Use <em>cache_name</em> as the credentials (ticket) cache name and
81 location; if this option is not used, the default cache name and
82 location are used.</p>
83 <p>The default credentials cache may vary between systems. If the
84 <strong>KRB5CCNAME</strong> environment variable is set, its value is used to
85 name the default ticket cache.</p>
86 </dd>
87 <dt><strong>-p</strong> <em>princ_name</em></dt><dd><p>If a cache collection is available, destroy the cache for
88 <em>princ_name</em> instead of the primary cache. May be used with the
89 <strong>-c</strong> option to specify the collection to be searched.</p>
90 </dd>
91 </dl>
92 </section>
93 <section id="note">
94 <h2>NOTE<a class="headerlink" href="#note" title="Link to this heading">¶</a></h2>
95 <p>Most installations recommend that you place the kdestroy command in
96 your .logout file, so that your tickets are destroyed automatically
97 when you log out.</p>
98 </section>
99 <section id="environment">
100 <h2>ENVIRONMENT<a class="headerlink" href="#environment" title="Link to this heading">¶</a></h2>
101 <p>See <a class="reference internal" href="../user_config/kerberos.html#kerberos-7"><span class="std std-ref">kerberos</span></a> for a description of Kerberos environment
102 variables.</p>
103 </section>
104 <section id="files">
105 <h2>FILES<a class="headerlink" href="#files" title="Link to this heading">¶</a></h2>
106 <dl class="simple">
107 <dt><a class="reference internal" href="../../mitK5defaults.html#paths"><span class="std std-ref">DEFCCNAME</span></a></dt><dd><p>Default location of Kerberos 5 credentials cache</p>
108 </dd>
109 </dl>
110 </section>
111 <section id="see-also">
112 <h2>SEE ALSO<a class="headerlink" href="#see-also" title="Link to this heading">¶</a></h2>
113 <p><a class="reference internal" href="kinit.html#kinit-1"><span class="std std-ref">kinit</span></a>, <a class="reference internal" href="klist.html#klist-1"><span class="std std-ref">klist</span></a>, <a class="reference internal" href="../user_config/kerberos.html#kerberos-7"><span class="std std-ref">kerberos</span></a></p>
114 </section>
115 </section>
116
117
118 <div class="clearer"></div>
119 </div>
120 </div>
121 </div>
122 </div>
123 <div class="sidebar">
124
125 <h2>On this page</h2>
126 <ul>
127 <li><a class="reference internal" href="#">kdestroy</a><ul>
128 <li><a class="reference internal" href="#synopsis">SYNOPSIS</a></li>
129 <li><a class="reference internal" href="#description">DESCRIPTION</a></li>
130 <li><a class="reference internal" href="#options">OPTIONS</a></li>
131 <li><a class="reference internal" href="#note">NOTE</a></li>
132 <li><a class="reference internal" href="#environment">ENVIRONMENT</a></li>
133 <li><a class="reference internal" href="#files">FILES</a></li>
134 <li><a class="reference internal" href="#see-also">SEE ALSO</a></li>
135 </ul>
136 </li>
137 </ul>
138
139 <br/>
140 <h2>Table of contents</h2>
141 <ul class="current">
142 <li class="toctree-l1 current"><a class="reference internal" href="../index.html">For users</a><ul class="current">
143 <li class="toctree-l2"><a class="reference internal" href="../pwd_mgmt.html">Password management</a></li>
144 <li class="toctree-l2"><a class="reference internal" href="../tkt_mgmt.html">Ticket management</a></li>
145 <li class="toctree-l2"><a class="reference internal" href="../user_config/index.html">User config files</a></li>
146 <li class="toctree-l2 current"><a class="reference internal" href="index.html">User commands</a><ul class="current">
147 <li class="toctree-l3 current"><a class="current reference internal" href="#">kdestroy</a></li>
148 <li class="toctree-l3"><a class="reference internal" href="kinit.html">kinit</a></li>
149 <li class="toctree-l3"><a class="reference internal" href="klist.html">klist</a></li>
150 <li class="toctree-l3"><a class="reference internal" href="kpasswd.html">kpasswd</a></li>
151 <li class="toctree-l3"><a class="reference internal" href="krb5-config.html">krb5-config</a></li>
152 <li class="toctree-l3"><a class="reference internal" href="ksu.html">ksu</a></li>
153 <li class="toctree-l3"><a class="reference internal" href="kswitch.html">kswitch</a></li>
154 <li class="toctree-l3"><a class="reference internal" href="kvno.html">kvno</a></li>
155 <li class="toctree-l3"><a class="reference internal" href="sclient.html">sclient</a></li>
156 </ul>
157 </li>
158 </ul>
159 </li>
160 <li class="toctree-l1"><a class="reference internal" href="../../admin/index.html">For administrators</a></li>
161 <li class="toctree-l1"><a class="reference internal" href="../../appdev/index.html">For application developers</a></li>
162 <li class="toctree-l1"><a class="reference internal" href="../../plugindev/index.html">For plugin module developers</a></li>
163 <li class="toctree-l1"><a class="reference internal" href="../../build/index.html">Building Kerberos V5</a></li>
164 <li class="toctree-l1"><a class="reference internal" href="../../basic/index.html">Kerberos V5 concepts</a></li>
165 <li class="toctree-l1"><a class="reference internal" href="../../formats/index.html">Protocols and file formats</a></li>
166 <li class="toctree-l1"><a class="reference internal" href="../../mitK5features.html">MIT Kerberos features</a></li>
167 <li class="toctree-l1"><a class="reference internal" href="../../build_this.html">How to build this documentation from the source</a></li>
168 <li class="toctree-l1"><a class="reference internal" href="../../about.html">Contributing to the MIT Kerberos Documentation</a></li>
169 <li class="toctree-l1"><a class="reference internal" href="../../resources.html">Resources</a></li>
170 </ul>
171
172 <br/>
173 <h4><a href="../../index.html">Full Table of Contents</a></h4>
174 <h4>Search</h4>
175 <form class="search" action="../../search.html" method="get">
176 <input type="text" name="q" size="18" />
177 <input type="submit" value="Go" />
178 <input type="hidden" name="check_keywords" value="yes" />
179 <input type="hidden" name="area" value="default" />
180 </form>
181
182 </div>
183 <div class="clearer"></div>
184 </div>
185 </div>
186
187 <div class="footer-wrapper">
188 <div class="footer" >
189 <div class="right" ><i>Release: 1.22.1</i><br />
190 &copy; <a href="../../copyright.html">Copyright</a> 1985-2025, MIT.
191 </div>
192 <div class="left">
193
194 <a href="../../index.html" title="Full Table of Contents"
195 >Contents</a> |
196 <a href="index.html" title="User commands"
197 >previous</a> |
198 <a href="kinit.html" title="kinit"
199 >next</a> |
200 <a href="../../genindex.html" title="General Index"
201 >index</a> |
202 <a href="../../search.html" title="Enter search criteria"
203 >Search</a> |
204 <a href="mailto:[email protected]?subject=Documentation__kdestroy">feedback</a>
205 </div>
206 </div>
207 </div>
208
209 </body>
210 </html>