| 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>klist — 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="kpasswd" href="kpasswd.html" /> |
| 20 |
<link rel="prev" title="kinit" href="kinit.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="kinit.html" title="kinit" |
| 33 |
accesskey="P">previous</a> | |
| 34 |
<a href="kpasswd.html" title="kpasswd" |
| 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__klist">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="klist"> |
| 54 |
<span id="klist-1"></span><h1>klist<a class="headerlink" href="#klist" 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>klist</strong> |
| 58 |
[<strong>-e</strong>] |
| 59 |
[[<strong>-c</strong>] [<strong>-l</strong>] [<strong>-A</strong>] [<strong>-f</strong>] [<strong>-s</strong>] [<strong>-a</strong> [<strong>-n</strong>]]] |
| 60 |
[<strong>-C</strong>] |
| 61 |
[<strong>-k</strong> [<strong>-i</strong>] [<strong>-t</strong>] [<strong>-K</strong>]] |
| 62 |
[<strong>-V</strong>] |
| 63 |
[<strong>-d</strong>] |
| 64 |
[<em>cache_name</em>|<em>keytab_name</em>]</p> |
| 65 |
</section> |
| 66 |
<section id="description"> |
| 67 |
<h2>DESCRIPTION<a class="headerlink" href="#description" title="Link to this heading">¶</a></h2> |
| 68 |
<p>klist lists the Kerberos principal and Kerberos tickets held in a |
| 69 |
credentials cache, or the keys held in a keytab file.</p> |
| 70 |
</section> |
| 71 |
<section id="options"> |
| 72 |
<h2>OPTIONS<a class="headerlink" href="#options" title="Link to this heading">¶</a></h2> |
| 73 |
<dl> |
| 74 |
<dt><strong>-e</strong></dt><dd><p>Displays the encryption types of the session key and the ticket |
| 75 |
for each credential in the credential cache, or each key in the |
| 76 |
keytab file.</p> |
| 77 |
</dd> |
| 78 |
<dt><strong>-l</strong></dt><dd><p>If a cache collection is available, displays a table summarizing |
| 79 |
the caches present in the collection.</p> |
| 80 |
</dd> |
| 81 |
<dt><strong>-A</strong></dt><dd><p>If a cache collection is available, displays the contents of all |
| 82 |
of the caches in the collection.</p> |
| 83 |
</dd> |
| 84 |
<dt><strong>-c</strong></dt><dd><p>List tickets held in a credentials cache. This is the default if |
| 85 |
neither <strong>-c</strong> nor <strong>-k</strong> is specified.</p> |
| 86 |
</dd> |
| 87 |
<dt><strong>-f</strong></dt><dd><p>Shows the flags present in the credentials, using the following |
| 88 |
abbreviations:</p> |
| 89 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">F</span> <span class="n">Forwardable</span> |
| 90 |
<span class="n">f</span> <span class="n">forwarded</span> |
| 91 |
<span class="n">P</span> <span class="n">Proxiable</span> |
| 92 |
<span class="n">p</span> <span class="n">proxy</span> |
| 93 |
<span class="n">D</span> <span class="n">postDateable</span> |
| 94 |
<span class="n">d</span> <span class="n">postdated</span> |
| 95 |
<span class="n">R</span> <span class="n">Renewable</span> |
| 96 |
<span class="n">I</span> <span class="n">Initial</span> |
| 97 |
<span class="n">i</span> <span class="n">invalid</span> |
| 98 |
<span class="n">H</span> <span class="n">Hardware</span> <span class="n">authenticated</span> |
| 99 |
<span class="n">A</span> <span class="n">preAuthenticated</span> |
| 100 |
<span class="n">T</span> <span class="n">Transit</span> <span class="n">policy</span> <span class="n">checked</span> |
| 101 |
<span class="n">O</span> <span class="n">Okay</span> <span class="k">as</span> <span class="n">delegate</span> |
| 102 |
<span class="n">a</span> <span class="n">anonymous</span> |
| 103 |
</pre></div> |
| 104 |
</div> |
| 105 |
</dd> |
| 106 |
<dt><strong>-s</strong></dt><dd><p>Causes klist to run silently (produce no output). klist will exit |
| 107 |
with status 1 if the credentials cache cannot be read or is |
| 108 |
expired, and with status 0 otherwise.</p> |
| 109 |
</dd> |
| 110 |
<dt><strong>-a</strong></dt><dd><p>Display list of addresses in credentials.</p> |
| 111 |
</dd> |
| 112 |
<dt><strong>-n</strong></dt><dd><p>Show numeric addresses instead of reverse-resolving addresses.</p> |
| 113 |
</dd> |
| 114 |
<dt><strong>-C</strong></dt><dd><p>List configuration data that has been stored in the credentials |
| 115 |
cache when klist encounters it. By default, configuration data |
| 116 |
is not listed.</p> |
| 117 |
</dd> |
| 118 |
<dt><strong>-k</strong></dt><dd><p>List keys held in a keytab file.</p> |
| 119 |
</dd> |
| 120 |
<dt><strong>-i</strong></dt><dd><p>In combination with <strong>-k</strong>, defaults to using the default client |
| 121 |
keytab instead of the default acceptor keytab, if no name is |
| 122 |
given.</p> |
| 123 |
</dd> |
| 124 |
<dt><strong>-t</strong></dt><dd><p>Display the time entry timestamps for each keytab entry in the |
| 125 |
keytab file.</p> |
| 126 |
</dd> |
| 127 |
<dt><strong>-K</strong></dt><dd><p>Display the value of the encryption key in each keytab entry in |
| 128 |
the keytab file.</p> |
| 129 |
</dd> |
| 130 |
<dt><strong>-d</strong></dt><dd><p>Display the authdata types (if any) for each entry.</p> |
| 131 |
</dd> |
| 132 |
<dt><strong>-V</strong></dt><dd><p>Display the Kerberos version number and exit.</p> |
| 133 |
</dd> |
| 134 |
</dl> |
| 135 |
<p>If <em>cache_name</em> or <em>keytab_name</em> is not specified, klist will display |
| 136 |
the credentials in the default credentials cache or keytab file as |
| 137 |
appropriate. If the <strong>KRB5CCNAME</strong> environment variable is set, its |
| 138 |
value is used to locate the default ticket cache.</p> |
| 139 |
</section> |
| 140 |
<section id="environment"> |
| 141 |
<h2>ENVIRONMENT<a class="headerlink" href="#environment" title="Link to this heading">¶</a></h2> |
| 142 |
<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 |
| 143 |
variables.</p> |
| 144 |
</section> |
| 145 |
<section id="files"> |
| 146 |
<h2>FILES<a class="headerlink" href="#files" title="Link to this heading">¶</a></h2> |
| 147 |
<dl class="simple"> |
| 148 |
<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> |
| 149 |
</dd> |
| 150 |
<dt><a class="reference internal" href="../../mitK5defaults.html#paths"><span class="std std-ref">DEFKTNAME</span></a></dt><dd><p>Default location for the local host’s keytab file.</p> |
| 151 |
</dd> |
| 152 |
</dl> |
| 153 |
</section> |
| 154 |
<section id="see-also"> |
| 155 |
<h2>SEE ALSO<a class="headerlink" href="#see-also" title="Link to this heading">¶</a></h2> |
| 156 |
<p><a class="reference internal" href="kinit.html#kinit-1"><span class="std std-ref">kinit</span></a>, <a class="reference internal" href="kdestroy.html#kdestroy-1"><span class="std std-ref">kdestroy</span></a>, <a class="reference internal" href="../user_config/kerberos.html#kerberos-7"><span class="std std-ref">kerberos</span></a></p> |
| 157 |
</section> |
| 158 |
</section> |
| 159 |
|
| 160 |
|
| 161 |
<div class="clearer"></div> |
| 162 |
</div> |
| 163 |
</div> |
| 164 |
</div> |
| 165 |
</div> |
| 166 |
<div class="sidebar"> |
| 167 |
|
| 168 |
<h2>On this page</h2> |
| 169 |
<ul> |
| 170 |
<li><a class="reference internal" href="#">klist</a><ul> |
| 171 |
<li><a class="reference internal" href="#synopsis">SYNOPSIS</a></li> |
| 172 |
<li><a class="reference internal" href="#description">DESCRIPTION</a></li> |
| 173 |
<li><a class="reference internal" href="#options">OPTIONS</a></li> |
| 174 |
<li><a class="reference internal" href="#environment">ENVIRONMENT</a></li> |
| 175 |
<li><a class="reference internal" href="#files">FILES</a></li> |
| 176 |
<li><a class="reference internal" href="#see-also">SEE ALSO</a></li> |
| 177 |
</ul> |
| 178 |
</li> |
| 179 |
</ul> |
| 180 |
|
| 181 |
<br/> |
| 182 |
<h2>Table of contents</h2> |
| 183 |
<ul class="current"> |
| 184 |
<li class="toctree-l1 current"><a class="reference internal" href="../index.html">For users</a><ul class="current"> |
| 185 |
<li class="toctree-l2"><a class="reference internal" href="../pwd_mgmt.html">Password management</a></li> |
| 186 |
<li class="toctree-l2"><a class="reference internal" href="../tkt_mgmt.html">Ticket management</a></li> |
| 187 |
<li class="toctree-l2"><a class="reference internal" href="../user_config/index.html">User config files</a></li> |
| 188 |
<li class="toctree-l2 current"><a class="reference internal" href="index.html">User commands</a><ul class="current"> |
| 189 |
<li class="toctree-l3"><a class="reference internal" href="kdestroy.html">kdestroy</a></li> |
| 190 |
<li class="toctree-l3"><a class="reference internal" href="kinit.html">kinit</a></li> |
| 191 |
<li class="toctree-l3 current"><a class="current reference internal" href="#">klist</a></li> |
| 192 |
<li class="toctree-l3"><a class="reference internal" href="kpasswd.html">kpasswd</a></li> |
| 193 |
<li class="toctree-l3"><a class="reference internal" href="krb5-config.html">krb5-config</a></li> |
| 194 |
<li class="toctree-l3"><a class="reference internal" href="ksu.html">ksu</a></li> |
| 195 |
<li class="toctree-l3"><a class="reference internal" href="kswitch.html">kswitch</a></li> |
| 196 |
<li class="toctree-l3"><a class="reference internal" href="kvno.html">kvno</a></li> |
| 197 |
<li class="toctree-l3"><a class="reference internal" href="sclient.html">sclient</a></li> |
| 198 |
</ul> |
| 199 |
</li> |
| 200 |
</ul> |
| 201 |
</li> |
| 202 |
<li class="toctree-l1"><a class="reference internal" href="../../admin/index.html">For administrators</a></li> |
| 203 |
<li class="toctree-l1"><a class="reference internal" href="../../appdev/index.html">For application developers</a></li> |
| 204 |
<li class="toctree-l1"><a class="reference internal" href="../../plugindev/index.html">For plugin module developers</a></li> |
| 205 |
<li class="toctree-l1"><a class="reference internal" href="../../build/index.html">Building Kerberos V5</a></li> |
| 206 |
<li class="toctree-l1"><a class="reference internal" href="../../basic/index.html">Kerberos V5 concepts</a></li> |
| 207 |
<li class="toctree-l1"><a class="reference internal" href="../../formats/index.html">Protocols and file formats</a></li> |
| 208 |
<li class="toctree-l1"><a class="reference internal" href="../../mitK5features.html">MIT Kerberos features</a></li> |
| 209 |
<li class="toctree-l1"><a class="reference internal" href="../../build_this.html">How to build this documentation from the source</a></li> |
| 210 |
<li class="toctree-l1"><a class="reference internal" href="../../about.html">Contributing to the MIT Kerberos Documentation</a></li> |
| 211 |
<li class="toctree-l1"><a class="reference internal" href="../../resources.html">Resources</a></li> |
| 212 |
</ul> |
| 213 |
|
| 214 |
<br/> |
| 215 |
<h4><a href="../../index.html">Full Table of Contents</a></h4> |
| 216 |
<h4>Search</h4> |
| 217 |
<form class="search" action="../../search.html" method="get"> |
| 218 |
<input type="text" name="q" size="18" /> |
| 219 |
<input type="submit" value="Go" /> |
| 220 |
<input type="hidden" name="check_keywords" value="yes" /> |
| 221 |
<input type="hidden" name="area" value="default" /> |
| 222 |
</form> |
| 223 |
|
| 224 |
</div> |
| 225 |
<div class="clearer"></div> |
| 226 |
</div> |
| 227 |
</div> |
| 228 |
|
| 229 |
<div class="footer-wrapper"> |
| 230 |
<div class="footer" > |
| 231 |
<div class="right" ><i>Release: 1.22.1</i><br /> |
| 232 |
© <a href="../../copyright.html">Copyright</a> 1985-2025, MIT. |
| 233 |
</div> |
| 234 |
<div class="left"> |
| 235 |
|
| 236 |
<a href="../../index.html" title="Full Table of Contents" |
| 237 |
>Contents</a> | |
| 238 |
<a href="kinit.html" title="kinit" |
| 239 |
>previous</a> | |
| 240 |
<a href="kpasswd.html" title="kpasswd" |
| 241 |
>next</a> | |
| 242 |
<a href="../../genindex.html" title="General Index" |
| 243 |
>index</a> | |
| 244 |
<a href="../../search.html" title="Enter search criteria" |
| 245 |
>Search</a> | |
| 246 |
<a href="mailto:[email protected]?subject=Documentation__klist">feedback</a> |
| 247 |
</div> |
| 248 |
</div> |
| 249 |
</div> |
| 250 |
|
| 251 |
</body> |
| 252 |
</html> |