[BACK]Return to skeyprune.8 CVS log [TXT][DIR] Up to [local] / src / usr.bin / skey

Diff for /src/usr.bin/skey/skeyprune.8 between version 1.6 and 1.7

version 1.6, 2001/06/20 22:19:58 version 1.7, 2002/05/16 18:27:34
Line 1 
Line 1 
 .\" $OpenBSD$  .\" $OpenBSD$
 .\"  .\"
 .\"  .\"
 .Dd September 27, 1996  .Dd May 16, 2002
 .Dt SKEYPRUNE 8  .Dt SKEYPRUNE 8
 .Os  .Os
 .Sh NAME  .Sh NAME
 .Nm skeyprune  .Nm skeyprune
 .Nd prune commented out and old entries from keys file  .Nd prune zeroed and old entries from S/Key databse
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm skeyprune  .Nm skeyprune
 .Op Ar days  .Op Ar days
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm skeyprune  .Nm skeyprune
 searches through the S/Key database,  searches through the S/Key database,
 .Dq Pa /etc/skeykeys ,  .Pa /etc/skey ,
 and prunes out invalid entries (including users who have zeroed out their)  and prunes out entries that have been zeroed out via
 entries via  .Xr skeyinit 1
 .Xr skeyinit 1 )  
 as well as entries that have not been modified in  as well as entries that have not been modified in
 .Ar days  .Ar days
 days.  days.
 If  If
 .Ar days  .Ar days
 is not specified, only invalid entries are pruned.  is not specified, only invalid entries are pruned.
   .Pp
   If a malformed entry is encountered, or if the file mode/type is incorrect,
   an error is printed to the standard error.
   .Sh ERRORS
   The following errors are cause for concern.
   .Bl -tag -width Ds
   .It Can't cd to /etc/skey
   The S/Key database directory,
   .Pa /etc/skey ,
   does not exist.
   The superuser may create it by running
   .Dq skeyinit -E .
   .It Can't open user
   The user's entry was found in
   .Pa /etc/skey
   but it could not be opened.
   .It user is not a regular file
   The user's entry is not a regular file.
   .It Bad mode for user
   The user's entry had a bad file mode (should be 0600).
   .It Bad link count for user.
   The user's entry had a bad link count (should be 1).
   .It Invalid entry for user
   The user's entry was not of the correct format, as specified by
   .Xr skey 5 .
   .El
 .Sh FILES  .Sh FILES
 .Bl -tag -width /etc/skeykeys -compact  .Bl -tag -width /etc/skey
 .It Pa /etc/skeykeys  .It Pa /etc/skey
 S/Key key information database  directory containing S/Key user entries
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr skey 1 ,  .Xr skey 1 ,
 .Xr skeyinit 1  .Xr skeyinit 1 ,
   .Xr skey 5

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7