summaryrefslogtreecommitdiff
path: root/kerberosIV/kdestroy/kdestroy.1
blob: f576cbee5777976fc3e2226758e6e0a2929ee86e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.\"
.\" This software may now be redistributed outside the US.
.\"
.\"Copyright (C) 1989 by the Massachusetts Institute of Technology
.\"
.\"Export of this software from the United States of America is assumed
.\"to require a specific license from the United States Government.
.\"It is the responsibility of any person or organization contemplating
.\"export to obtain such a license before exporting.
.\"
.\"WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
.\"distribute this software and its documentation for any purpose and
.\"without fee is hereby granted, provided that the above copyright
.\"notice appear in all copies and that both that copyright notice and
.\"this permission notice appear in supporting documentation, and that
.\"the name of M.I.T. not be used in advertising or publicity pertaining
.\"to distribution of the software without specific, written prior
.\"permission.  M.I.T. makes no representations about the suitability of
.\"this software for any purpose.  It is provided "as is" without express
.\"or implied warranty.
.\"
.\"	$OpenBSD: kdestroy.1,v 1.3 1998/02/18 11:53:52 art Exp $
.TH KDESTROY 1 "Kerberos Version 4.0" "MIT Project Athena"
.SH NAME
kdestroy \- destroy Kerberos tickets
.SH SYNOPSIS
.B kdestroy
[
.B \-f
]
[
.B \-q
]
.SH DESCRIPTION
The
.I kdestroy
utility destroys the user's active
Kerberos
authorization tickets by writing zeros to the file that contains them.
If the ticket file does not exist,
.I kdestroy
displays a message to that effect.
.PP
After overwriting the file,
.I kdestroy
removes the file from the system.
The utility
displays a message indicating the success or failure of the
operation.
If
.I kdestroy
is unable to destroy the ticket file,
the utility will warn you by making your terminal beep.
.PP
In the Athena workstation environment,
the
.I toehold
service automatically destroys your tickets when you
end a workstation session.
If your site does not provide a similar ticket-destroying mechanism,
you can place the
.I kdestroy
command in your
.I .logout
file so that your tickets are destroyed automatically
when you logout.
.PP
The options to
.I kdestroy
are as follows:
.TP 7
.B \-f
.I kdestroy
runs without displaying the status message.
.TP
.B \-q
.I kdestroy
will not make your terminal beep if it fails to destroy the tickets.
.SH FILES
KRBTKFILE environment variable if set, otherwise
.br
/tmp/tkt[uid]
.SH SEE ALSO
kerberos(1), kinit(1), klist(1)
.SH BUGS
.PP
Only the tickets in the user's current ticket file are destroyed.
Separate ticket files are used to hold root instance and password
changing tickets.  These files should probably be destroyed too, or
all of a user's tickets kept in a single ticket file.
.SH AUTHORS
Steve Miller, MIT Project Athena/Digital Equipment Corporation
.br
Clifford Neuman, MIT Project Athena
.br
Bill Sommerfeld, MIT Project Athena