summaryrefslogtreecommitdiff
path: root/usr.bin/skey/skeyprune.8
blob: e83b63e757a809b7bf8b164b993f1e4ba5cc4dd1 (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
.\" $OpenBSD: skeyprune.8,v 1.5 2000/03/23 21:10:18 aaron Exp $
.\"
.\"
.Dd September 27, 1996
.Dt SKEYPRUNE 8
.Os
.Sh NAME
.Nm skeyprune
.Nd prune commented out and old entries from keys file
.Sh SYNOPSIS
.Nm skeyprune
.Op Ar days
.Sh DESCRIPTION
.Nm skeyprune
searches through the file
.Dq Pa /etc/skeykeys
and prunes out users who have zeroed their entries via
.Xr skeyinit 1
as well as entries that have not been modified in
.Ar days
days.
If
.Ar days
is not specified only commented out entries are pruned.
.Sh FILES
.Bl -tag -width /etc/skeykeys -compact
.It Pa /etc/skeykeys
S/Key key information database
.El
.Sh SEE ALSO
.Xr skey 1 ,
.Xr skeyinit 1
.Sh BUGS
Since
.Nm skeyprune
rewrites
.Dq Pa /etc/skeykeys ,
there is a window where S/Key changes could get lost.
It is therefore suggested that
.Nm skeyprune
be run at a time when users are unlikely to be active.