summaryrefslogtreecommitdiff
path: root/usr.bin/skey/skeyprune.8
blob: 4631a7179e26a4d4998442001809de0a14171095 (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
.\" $OpenBSD: skeyprune.8,v 1.2 1997/09/22 05:15:05 millert Exp $
.\"
.\"
.Dd 27 Sep 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 they 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
The S/Key key information database
.El
.Sh SEE ALSO
.Xr skeyinit 1 ,
.Xr skey 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.