403Webshell
Server IP : 77.68.64.21  /  Your IP : 216.73.217.105
Web Server : Apache
System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64
User : csh2668128 ( 2112425)
PHP Version : 8.1.34
Disable Function : shell_exec,exec,system,popen,set_time_limit
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/krb5-workstation-1.15.1/user/user_config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/krb5-workstation-1.15.1/user/user_config/kerberos.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>kerberos &mdash; MIT Kerberos Documentation</title>
    
    <link rel="stylesheet" href="../../_static/agogo.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/kerb.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '1.15.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <link rel="author" title="About these documents" href="../../about.html" />
    <link rel="copyright" title="Copyright" href="../../copyright.html" />
    <link rel="top" title="MIT Kerberos Documentation" href="../../index.html" />
    <link rel="up" title="User config files" href="index.html" />
    <link rel="next" title=".k5login" href="k5login.html" />
    <link rel="prev" title="User config files" href="index.html" /> 
  </head>
  <body>
    <div class="header-wrapper">
        <div class="header">
            
            
            <h1><a href="../../index.html">MIT Kerberos Documentation</a></h1>
            
            <div class="rel">
                
        <a href="../../index.html" title="Full Table of Contents"
            accesskey="C">Contents</a> |
        <a href="index.html" title="User config files"
            accesskey="P">previous</a> |
        <a href="k5login.html" title=".k5login"
            accesskey="N">next</a> |
        <a href="../../genindex.html" title="General Index"
            accesskey="I">index</a> |
        <a href="../../search.html" title="Enter search criteria"
            accesskey="S">Search</a> |
    <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__kerberos">feedback</a>
            </div>
        </div>
    </div>

    <div class="content-wrapper">
      <div class="content">
        <div class="document">
            
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="kerberos">
<span id="kerberos-7"></span><h1>kerberos<a class="headerlink" href="#kerberos" title="Permalink to this headline">¶</a></h1>
<div class="section" id="description">
<h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>The Kerberos system authenticates individual users in a network
environment.  After authenticating yourself to Kerberos, you can use
Kerberos-enabled programs without having to present passwords or
certificates to those programs.</p>
<p>If you receive the following response from <a class="reference internal" href="../user_commands/kinit.html#kinit-1"><em>kinit</em></a>:</p>
<p>kinit: Client not found in Kerberos database while getting initial
credentials</p>
<p>you haven&#8217;t been registered as a Kerberos user.  See your system
administrator.</p>
<p>A Kerberos name usually contains three parts.  The first is the
<strong>primary</strong>, which is usually a user&#8217;s or service&#8217;s name.  The second
is the <strong>instance</strong>, which in the case of a user is usually null.
Some users may have privileged instances, however, such as <tt class="docutils literal"><span class="pre">root</span></tt> or
<tt class="docutils literal"><span class="pre">admin</span></tt>.  In the case of a service, the instance is the fully
qualified name of the machine on which it runs; i.e. there can be an
ssh service running on the machine ABC (<a class="reference external" href="mailto:ssh/ABC&#37;&#52;&#48;REALM">ssh/ABC<span>&#64;</span>REALM</a>), which is
different from the ssh service running on the machine XYZ
(<a class="reference external" href="mailto:ssh/XYZ&#37;&#52;&#48;REALM">ssh/XYZ<span>&#64;</span>REALM</a>).  The third part of a Kerberos name is the <strong>realm</strong>.
The realm corresponds to the Kerberos service providing authentication
for the principal.  Realms are conventionally all-uppercase, and often
match the end of hostnames in the realm (for instance, host01.example.com
might be in realm EXAMPLE.COM).</p>
<p>When writing a Kerberos name, the principal name is separated from the
instance (if not null) by a slash, and the realm (if not the local
realm) follows, preceded by an &#8220;&#64;&#8221; sign.  The following are examples
of valid Kerberos names:</p>
<div class="highlight-python"><pre>david
jennifer/admin
joeuser@BLEEP.COM
cbrown/root@FUBAR.ORG</pre>
</div>
<p>When you authenticate yourself with Kerberos you get an initial
Kerberos <strong>ticket</strong>.  (A Kerberos ticket is an encrypted protocol
message that provides authentication.)  Kerberos uses this ticket for
network utilities such as ssh.  The ticket transactions are done
transparently, so you don&#8217;t have to worry about their management.</p>
<p>Note, however, that tickets expire.  Administrators may configure more
privileged tickets, such as those with service or instance of <tt class="docutils literal"><span class="pre">root</span></tt>
or <tt class="docutils literal"><span class="pre">admin</span></tt>, to expire in a few minutes, while tickets that carry
more ordinary privileges may be good for several hours or a day.  If
your login session extends beyond the time limit, you will have to
re-authenticate yourself to Kerberos to get new tickets using the
<a class="reference internal" href="../user_commands/kinit.html#kinit-1"><em>kinit</em></a> command.</p>
<p>Some tickets are <strong>renewable</strong> beyond their initial lifetime.  This
means that <tt class="docutils literal"><span class="pre">kinit</span> <span class="pre">-R</span></tt> can extend their lifetime without requiring
you to re-authenticate.</p>
<p>If you wish to delete your local tickets, use the <a class="reference internal" href="../user_commands/kdestroy.html#kdestroy-1"><em>kdestroy</em></a>
command.</p>
<p>Kerberos tickets can be forwarded.  In order to forward tickets, you
must request <strong>forwardable</strong> tickets when you kinit.  Once you have
forwardable tickets, most Kerberos programs have a command line option
to forward them to the remote host.  This can be useful for, e.g.,
running kinit on your local machine and then sshing into another to do
work.  Note that this should not be done on untrusted machines since
they will then have your tickets.</p>
</div>
<div class="section" id="environment-variables">
<h2>ENVIRONMENT VARIABLES<a class="headerlink" href="#environment-variables" title="Permalink to this headline">¶</a></h2>
<p>Several environment variables affect the operation of Kerberos-enabled
programs.  These include:</p>
<dl class="docutils">
<dt><strong>KRB5CCNAME</strong></dt>
<dd><p class="first">Default name for the credentials cache file, in the form
<em>TYPE</em>:<em>residual</em>.  The type of the default cache may determine
the availability of a cache collection.  <tt class="docutils literal"><span class="pre">FILE</span></tt> is not a
collection type; <tt class="docutils literal"><span class="pre">KEYRING</span></tt>, <tt class="docutils literal"><span class="pre">DIR</span></tt>, and <tt class="docutils literal"><span class="pre">KCM</span></tt> are.</p>
<p class="last">If not set, the value of <strong>default_ccache_name</strong> from
configuration files (see <strong>KRB5_CONFIG</strong>) will be used.  If that
is also not set, the default <em>type</em> is <tt class="docutils literal"><span class="pre">FILE</span></tt>, and the
<em>residual</em> is the path /tmp/krb5cc_*uid*, where <em>uid</em> is the
decimal user ID of the user.</p>
</dd>
<dt><strong>KRB5_KTNAME</strong></dt>
<dd>Specifies the location of the default keytab file, in the form
<em>TYPE</em>:<em>residual</em>.  If no <em>type</em> is present, the <strong>FILE</strong> type is
assumed and <em>residual</em> is the pathname of the keytab file.  If
unset, <tt class="docutils literal"><span class="pre">FILE:/etc/krb5.keytab</span></tt> will be used.</dd>
<dt><strong>KRB5_CONFIG</strong></dt>
<dd>Specifies the location of the Kerberos configuration file.  The
default is <tt class="docutils literal"><span class="pre">/etc</span></tt><tt class="docutils literal"><span class="pre">/krb5.conf</span></tt>.  Multiple filenames can
be specified, separated by a colon; all files which are present
will be read.</dd>
<dt><strong>KRB5_KDC_PROFILE</strong></dt>
<dd>Specifies the location of the KDC configuration file, which
contains additional configuration directives for the Key
Distribution Center daemon and associated programs.  The default
is <tt class="docutils literal"><span class="pre">/var/kerberos</span></tt><tt class="docutils literal"><span class="pre">/krb5kdc</span></tt><tt class="docutils literal"><span class="pre">/kdc.conf</span></tt>.</dd>
<dt><strong>KRB5RCACHETYPE</strong></dt>
<dd>Specifies the default type of replay cache to use for servers.
Valid types include <tt class="docutils literal"><span class="pre">dfl</span></tt> for the normal file type and <tt class="docutils literal"><span class="pre">none</span></tt>
for no replay cache.  The default is <tt class="docutils literal"><span class="pre">dfl</span></tt>.</dd>
<dt><strong>KRB5RCACHEDIR</strong></dt>
<dd>Specifies the default directory for replay caches used by servers.
The default is the value of the <strong>TMPDIR</strong> environment variable,
or <tt class="docutils literal"><span class="pre">/var/tmp</span></tt> if <strong>TMPDIR</strong> is not set.</dd>
<dt><strong>KRB5_TRACE</strong></dt>
<dd>Specifies a filename to write trace log output to.  Trace logs can
help illuminate decisions made internally by the Kerberos
libraries.  For example, <tt class="docutils literal"><span class="pre">env</span> <span class="pre">KRB5_TRACE=/dev/stderr</span> <span class="pre">kinit</span></tt>
would send tracing information for <a class="reference internal" href="../user_commands/kinit.html#kinit-1"><em>kinit</em></a> to
<tt class="docutils literal"><span class="pre">/dev/stderr</span></tt>.  The default is not to write trace log output
anywhere.</dd>
<dt><strong>KRB5_CLIENT_KTNAME</strong></dt>
<dd>Default client keytab file name.  If unset, <tt class="docutils literal"><span class="pre">FILE:/var/kerberos/krb5/user/%{euid}/client.keytab</span></tt> will be
used).</dd>
<dt><strong>KPROP_PORT</strong></dt>
<dd><a class="reference internal" href="../../admin/admin_commands/kprop.html#kprop-8"><em>kprop</em></a> port to use.  Defaults to 754.</dd>
</dl>
<p>Most environment variables are disabled for certain programs, such as
login system programs and setuid programs, which are designed to be
secure when run within an untrusted process environment.</p>
</div>
<div class="section" id="see-also">
<h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
<p><a class="reference internal" href="../user_commands/kdestroy.html#kdestroy-1"><em>kdestroy</em></a>, <a class="reference internal" href="../user_commands/kinit.html#kinit-1"><em>kinit</em></a>, <a class="reference internal" href="../user_commands/klist.html#klist-1"><em>klist</em></a>,
<a class="reference internal" href="../user_commands/kswitch.html#kswitch-1"><em>kswitch</em></a>, <a class="reference internal" href="../user_commands/kpasswd.html#kpasswd-1"><em>kpasswd</em></a>, <a class="reference internal" href="../user_commands/ksu.html#ksu-1"><em>ksu</em></a>,
<a class="reference internal" href="../../admin/conf_files/krb5_conf.html#krb5-conf-5"><em>krb5.conf</em></a>, <a class="reference internal" href="../../admin/conf_files/kdc_conf.html#kdc-conf-5"><em>kdc.conf</em></a>, <a class="reference internal" href="../../admin/admin_commands/kadmin_local.html#kadmin-1"><em>kadmin</em></a>,
<a class="reference internal" href="../../admin/admin_commands/kadmind.html#kadmind-8"><em>kadmind</em></a>, <a class="reference internal" href="../../admin/admin_commands/kdb5_util.html#kdb5-util-8"><em>kdb5_util</em></a>, <a class="reference internal" href="../../admin/admin_commands/krb5kdc.html#krb5kdc-8"><em>krb5kdc</em></a></p>
</div>
<div class="section" id="bugs">
<h2>BUGS<a class="headerlink" href="#bugs" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="authors">
<h2>AUTHORS<a class="headerlink" href="#authors" title="Permalink to this headline">¶</a></h2>
<div class="line-block">
<div class="line">Steve Miller, MIT Project Athena/Digital Equipment Corporation</div>
<div class="line">Clifford Neuman, MIT Project Athena</div>
<div class="line">Greg Hudson, MIT Kerberos Consortium</div>
<div class="line">Robbie Harwood, Red Hat, Inc.</div>
</div>
</div>
<div class="section" id="history">
<h2>HISTORY<a class="headerlink" href="#history" title="Permalink to this headline">¶</a></h2>
<p>The MIT Kerberos 5 implementation was developed at MIT, with
contributions from many outside parties.  It is currently maintained
by the MIT Kerberos Consortium.</p>
</div>
<div class="section" id="restrictions">
<h2>RESTRICTIONS<a class="headerlink" href="#restrictions" title="Permalink to this headline">¶</a></h2>
<p>Copyright 1985, 1986, 1989-1996, 2002, 2011, 2018 Masachusetts
Institute of Technology</p>
</div>
</div>


          </div>
        </div>
      </div>
        </div>
        <div class="sidebar">
    <h2>On this page</h2>
    <ul>
<li><a class="reference internal" href="#">kerberos</a><ul>
<li><a class="reference internal" href="#description">DESCRIPTION</a></li>
<li><a class="reference internal" href="#environment-variables">ENVIRONMENT VARIABLES</a></li>
<li><a class="reference internal" href="#see-also">SEE ALSO</a></li>
<li><a class="reference internal" href="#bugs">BUGS</a></li>
<li><a class="reference internal" href="#authors">AUTHORS</a></li>
<li><a class="reference internal" href="#history">HISTORY</a></li>
<li><a class="reference internal" href="#restrictions">RESTRICTIONS</a></li>
</ul>
</li>
</ul>

    <br/>
    <h2>Table of contents</h2>
    <ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../index.html">For users</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../pwd_mgmt.html">Password management</a></li>
<li class="toctree-l2"><a class="reference internal" href="../tkt_mgmt.html">Ticket management</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="index.html">User config files</a><ul class="current">
<li class="toctree-l3 current"><a class="current reference internal" href="">kerberos</a></li>
<li class="toctree-l3"><a class="reference internal" href="k5login.html">.k5login</a></li>
<li class="toctree-l3"><a class="reference internal" href="k5identity.html">.k5identity</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../user_commands/index.html">User commands</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../admin/index.html">For administrators</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../appdev/index.html">For application developers</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../plugindev/index.html">For plugin module developers</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../build/index.html">Building Kerberos V5</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../basic/index.html">Kerberos V5 concepts</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../formats/index.html">Protocols and file formats</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mitK5features.html">MIT Kerberos features</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../build_this.html">How to build this documentation from the source</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../about.html">Contributing to the MIT Kerberos Documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../resources.html">Resources</a></li>
</ul>

    <br/>
    <h4><a href="../../index.html">Full Table of Contents</a></h4>
    <h4>Search</h4>
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
        </div>
        <div class="clearer"></div>
      </div>
    </div>

    <div class="footer-wrapper">
        <div class="footer" >
            <div class="right" ><i>Release: 1.15.1</i><br />
                &copy; <a href="../../copyright.html">Copyright</a> 1985-2017, MIT.
            </div>
            <div class="left">
                
        <a href="../../index.html" title="Full Table of Contents"
            >Contents</a> |
        <a href="index.html" title="User config files"
            >previous</a> |
        <a href="k5login.html" title=".k5login"
            >next</a> |
        <a href="../../genindex.html" title="General Index"
            >index</a> |
        <a href="../../search.html" title="Enter search criteria"
            >Search</a> |
    <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__kerberos">feedback</a>
            </div>
        </div>
    </div>

  </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit