summaryrefslogtreecommitdiff
path: root/usr.bin/skey/skeyprune.8
blob: f7ae9efbd1e054350b6312cde622c71c7a40d26d (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.1 1996/09/28 00:00:41 millert Exp $
.\"
.\"
.Dd 27 Sep 1996
.Dt SKEYPRUNE 8
.Os OpenBSD 4
.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.