Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112034114
D6477.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D6477.diff
View Options
Index: head/etc/defaults/periodic.conf
===================================================================
--- head/etc/defaults/periodic.conf
+++ head/etc/defaults/periodic.conf
@@ -222,6 +222,10 @@
# Security options
+security_show_success="YES" # scripts returning 0
+security_show_info="YES" # scripts returning 1
+security_show_badconfig="NO" # scripts returning 2
+
# These options are used by the security periodic(8) scripts spawned in
# daily and weekly 450.status-security.
security_status_logdir="/var/log" # Directory for logs
Index: head/usr.sbin/periodic/periodic.8
===================================================================
--- head/usr.sbin/periodic/periodic.8
+++ head/usr.sbin/periodic/periodic.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 30, 2007
+.Dd May 20, 2016
.Dt PERIODIC 8
.Os
.Sh NAME
@@ -166,8 +166,9 @@
the top level directory containing
.Pa daily ,
.Pa weekly ,
+.Pa monthly ,
and
-.Pa monthly
+.Pa security
subdirectories which contain standard system periodic executables
.It Pa /etc/defaults/periodic.conf
the
@@ -175,9 +176,9 @@
system registry contains variables that control the behaviour of
.Nm
and the standard
-.Pa daily , weekly ,
+.Pa daily , weekly , monthly ,
and
-.Pa monthly
+.Pa security
scripts
.It Pa /etc/periodic.conf
this file contains local overrides for the default
Index: head/usr.sbin/periodic/periodic.sh
===================================================================
--- head/usr.sbin/periodic/periodic.sh
+++ head/usr.sbin/periodic/periodic.sh
@@ -4,13 +4,13 @@
#
# Run nightly periodic scripts
#
-# usage: periodic { daily | weekly | monthly } - run standard periodic scripts
+# usage: periodic { daily | weekly | monthly | security } - run standard scripts
# periodic /absolute/path/to/directory - run periodic scripts in dir
#
usage () {
echo "usage: $0 <directory of files to execute>" 1>&2
- echo "or $0 { daily | weekly | monthly }" 1>&2
+ echo "or $0 { daily | weekly | monthly | security }" 1>&2
exit 1
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 9:09 PM (13 h, 23 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17126163
Default Alt Text
D6477.diff (2 KB)
Attached To
Mode
D6477: Better document security_show_{success,info,badconfig} in /etc/periodic.conf
Attached
Detach File
Event Timeline
Log In to Comment