ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakh_5.4.0.1/rzakhdeletecred.htm

71 lines
4.4 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Delete expired credentials cache files" />
<meta name="abstract" content="The kdestroy command deletes a Kerberos credentials cache file. Users need to periodically delete old credentials by using thekdestroy command." />
<meta name="description" content="The kdestroy command deletes a Kerberos credentials cache file. Users need to periodically delete old credentials by using thekdestroy command." />
<meta name="DC.Relation" scheme="URI" content="rzakhmanage.htm" />
<meta name="DC.Relation" scheme="URI" content="kdestroy.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakhdeletecred" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Delete expired credentials cache files</title>
</head>
<body id="rzakhdeletecred"><a name="rzakhdeletecred"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Delete expired credentials cache files</h1>
<div><p>The <span class="cmdname">kdestroy</span> command deletes a Kerberos credentials
cache file. Users need to periodically delete old credentials by using the<span class="cmdname">kdestroy</span> command.</p>
<div class="section"><p>The <em>-e</em> option causes the <span class="cmdname">kdestroy</span> command
to check all of the credentials cache files in the default cache directory <span class="filepath">/QIBM/UserData/OS400/NetworkAuthentication/creds</span>.
Any file that contains only expired tickets that have been expired for the <em>time_delta</em> is
deleted. The <em>time_delta</em> is expressed as <em>nwndnhnmns</em>, where <em>n</em> represents
a number, <em>w</em> indicates weeks, <em>d</em> indicates days, <em>h</em> indicates
hours, <em>m</em> indicates minutes, and <em>s</em> indicates seconds. The components
must be specified in this order, but any component may be omitted (for example, <em>4h5m</em> represents
4 hours and 5 minutes, and <em>1w2h</em> represents 1 week and 2 hours). If
only a number is specified, the default is hours.</p>
</div>
<ol><li><span>To delete your default credentials cache:</span><ul><li>On a Qshell command line, enter <tt>kdestroy</tt></li>
<li>On an i5/OS™ control
language (CL) command line, enter <tt>call qsys/qkrbkdstry</tt></li>
</ul>
</li>
<li><span>To delete all credentials cache files that have expired tickets
older than 1 day:</span><ul><li>On a Qshell command line, enter <tt>kdestroy -e 1d</tt></li>
<li>On a CL command line, enter<tt>call qsys/qkrbkdstry parm ('e' '-1d')</tt></li>
</ul>
</li>
</ol>
<div class="section"><p>See the <strong>kdestroy</strong> usage notes on this Qshell command for
specifics on its usage and restrictions.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="kdestroy.htm">kdestroy</a></strong><br />
The Qshell command <span class="cmdname">kdestroy</span> destroys a Kerberos
credentials cache.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakhmanage.htm" title="Manage network authentication service by requesting tickets, working with key table files, and administering host name resolution. You can also work with credentials files and back up configuration files.">Manage network authentication service</a></div>
</div>
</div>
</body>
</html>