Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add skeyaudit to /etc/security (with a variable to disable) ...



details:   https://anonhg.NetBSD.org/src/rev/1fad98b9d347
branches:  trunk
changeset: 485322:1fad98b9d347
user:      fair <fair%NetBSD.org@localhost>
date:      Mon Apr 24 23:46:37 2000 +0000

description:
Add skeyaudit to /etc/security (with a variable to disable) per PR 5871

diffstat:

 etc/security                   |  8 +++++++-
 etc/security.conf              |  4 +++-
 share/man/man5/security.conf.5 |  7 ++++++-
 3 files changed, 16 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r bc049912eed3 -r 1fad98b9d347 etc/security
--- a/etc/security      Mon Apr 24 22:06:50 2000 +0000
+++ b/etc/security      Mon Apr 24 23:46:37 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.41 2000/01/15 01:15:12 christos Exp $
+#      $NetBSD: security,v 1.42 2000/04/24 23:46:37 fair Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -689,3 +689,9 @@
                fi
        done
 fi
+
+# run skeyaudit to inform users of ready to expire S/Keys
+#
+if checkyesno run_skeyaudit; then
+       skeyaudit
+fi
diff -r bc049912eed3 -r 1fad98b9d347 etc/security.conf
--- a/etc/security.conf Mon Apr 24 22:06:50 2000 +0000
+++ b/etc/security.conf Mon Apr 24 23:46:37 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: security.conf,v 1.4 1999/11/18 02:35:54 christos Exp $
+#      $NetBSD: security.conf,v 1.5 2000/04/24 23:46:37 fair Exp $
 #
 # see security.conf(5) for more information.
 
@@ -16,4 +16,6 @@
 check_disklabels=YES
 check_changelist=YES
 
+run_skeyaudit=YES
+
 max_loginlen=8
diff -r bc049912eed3 -r 1fad98b9d347 share/man/man5/security.conf.5
--- a/share/man/man5/security.conf.5    Mon Apr 24 22:06:50 2000 +0000
+++ b/share/man/man5/security.conf.5    Mon Apr 24 23:46:37 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: security.conf.5,v 1.6 1999/03/17 20:19:48 garbled Exp $
+.\"    $NetBSD: security.conf.5,v 1.7 2000/04/24 23:46:38 fair Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -101,6 +101,11 @@
 and 
 .Pa /var/backups/file.backup ,
 and displays any differences found.
+.It Sy run_skeyaudit
+The
+.Xr skeyaudit 1
+program checks the S/Key database and informs users of S/Keys that
+are about to expire.
 .El
 .Pp
 The variables described below can be set to modify the tests:



Home | Main Index | Thread Index | Old Index