Source-Changes-HG archive

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

[src/trunk]: src We may as well allow local additions to /etc/security, since...



details:   https://anonhg.NetBSD.org/src/rev/779750cec0c1
branches:  trunk
changeset: 486600:779750cec0c1
user:      ad <ad%NetBSD.org@localhost>
date:      Fri May 26 17:08:21 2000 +0000

description:
We may as well allow local additions to /etc/security, since it gets done
for the other periodic checks.

diffstat:

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

diffs (47 lines):

diff -r 1534a36ea6d5 -r 779750cec0c1 etc/security
--- a/etc/security      Fri May 26 16:41:52 2000 +0000
+++ b/etc/security      Fri May 26 17:08:21 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.43 2000/05/05 18:28:53 itojun Exp $
+#      $NetBSD: security,v 1.44 2000/05/26 17:08:21 ad Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -697,3 +697,9 @@
 if checkyesno run_skeyaudit; then
        skeyaudit
 fi
+
+if [ -f /etc/security.local ]; then
+       echo ""
+       echo "Running /etc/security.local:"
+       . /etc/security.local
+fi
diff -r 1534a36ea6d5 -r 779750cec0c1 share/man/man5/security.conf.5
--- a/share/man/man5/security.conf.5    Fri May 26 16:41:52 2000 +0000
+++ b/share/man/man5/security.conf.5    Fri May 26 17:08:21 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: security.conf.5,v 1.8 2000/05/05 18:28:54 itojun Exp $
+.\"    $NetBSD: security.conf.5,v 1.9 2000/05/26 17:08:22 ad Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -120,8 +120,15 @@
 .El
 .Pp
 .Sh FILES
+.Bl -tag -width /etc/security.local -compact
+.It Pa /etc/security
+daily security check script
+.It Pa /etc/security.conf
+daily security check configuration
+.It Pa /etc/security.local
+local site additions to
 .Pa /etc/security
-.Pa /etc/security.conf
+.El
 .Sh SEE ALSO
 .Xr daily.conf 5
 .Sh HISTORY



Home | Main Index | Thread Index | Old Index