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

Annotation of src/usr.bin/skey/skeyprune.8, Revision 1.7

1.7     ! millert     1: .\" $OpenBSD: skeyprune.8,v 1.6 2001/06/20 22:19:58 millert Exp $
1.1       millert     2: .\"
                      3: .\"
1.7     ! millert     4: .Dd May 16, 2002
1.1       millert     5: .Dt SKEYPRUNE 8
1.2       millert     6: .Os
1.1       millert     7: .Sh NAME
                      8: .Nm skeyprune
1.7     ! millert     9: .Nd prune zeroed and old entries from S/Key databse
1.1       millert    10: .Sh SYNOPSIS
                     11: .Nm skeyprune
                     12: .Op Ar days
                     13: .Sh DESCRIPTION
                     14: .Nm skeyprune
1.6       millert    15: searches through the S/Key database,
1.7     ! millert    16: .Pa /etc/skey ,
        !            17: and prunes out entries that have been zeroed out via
        !            18: .Xr skeyinit 1
1.1       millert    19: as well as entries that have not been modified in
                     20: .Ar days
1.5       aaron      21: days.
                     22: If
1.1       millert    23: .Ar days
1.6       millert    24: is not specified, only invalid entries are pruned.
1.7     ! millert    25: .Pp
        !            26: If a malformed entry is encountered, or if the file mode/type is incorrect,
        !            27: an error is printed to the standard error.
        !            28: .Sh ERRORS
        !            29: The following errors are cause for concern.
        !            30: .Bl -tag -width Ds
        !            31: .It Can't cd to /etc/skey
        !            32: The S/Key database directory,
        !            33: .Pa /etc/skey ,
        !            34: does not exist.
        !            35: The superuser may create it by running
        !            36: .Dq skeyinit -E .
        !            37: .It Can't open user
        !            38: The user's entry was found in
        !            39: .Pa /etc/skey
        !            40: but it could not be opened.
        !            41: .It user is not a regular file
        !            42: The user's entry is not a regular file.
        !            43: .It Bad mode for user
        !            44: The user's entry had a bad file mode (should be 0600).
        !            45: .It Bad link count for user.
        !            46: The user's entry had a bad link count (should be 1).
        !            47: .It Invalid entry for user
        !            48: The user's entry was not of the correct format, as specified by
        !            49: .Xr skey 5 .
        !            50: .El
1.1       millert    51: .Sh FILES
1.7     ! millert    52: .Bl -tag -width /etc/skey
        !            53: .It Pa /etc/skey
        !            54: directory containing S/Key user entries
1.1       millert    55: .El
                     56: .Sh SEE ALSO
1.3       aaron      57: .Xr skey 1 ,
1.7     ! millert    58: .Xr skeyinit 1 ,
        !            59: .Xr skey 5