Page MenuHomeFreeBSD

Better document security_show_{success,info,badconfig} in /etc/periodic.conf
ClosedPublic

Authored by asomers on May 20 2016, 4:11 PM.
Tags
None
Referenced Files
F135596945: D6477.id16631.diff
Tue, Nov 11, 4:11 AM
F135596926: D6477.id.diff
Tue, Nov 11, 4:11 AM
F135596924: D6477.id16654.diff
Tue, Nov 11, 4:11 AM
F135579164: D6477.diff
Tue, Nov 11, 12:19 AM
Unknown Object (File)
Tue, Nov 4, 2:43 AM
Unknown Object (File)
Fri, Oct 31, 10:44 AM
Unknown Object (File)
Sun, Oct 26, 5:43 AM
Unknown Object (File)
Sat, Oct 25, 10:47 PM
Subscribers

Details

Summary

periodic(8) already handles the security_show_{success,info,badconfig}
variables correctly. However, those variables aren't explicitly set in
/etc/defaults/periodic.conf or anywhere else, which suggests to the user that
they shouldn't be used.

etc/defaults/periodic.conf
Explicitly set defaults for security_show_{success,info,badconfig}

usr.sbin/periodic/periodic.sh
Update usage string

usr.sbin/periodic/periodic.8
Minor man page updates

One thing I'm _not_ doing is recommending setting security_output to
/var/log/security.log or adding that file to /etc/newsyslog.conf, because
periodic(8) would create it with default permissions, usually 644, and that's
probably a bad idea.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

asomers retitled this revision from to Better document security_show_{success,info,badconfig} in /etc/periodic.conf.
asomers updated this object.
asomers edited the test plan for this revision. (Show Details)
asomers added a reviewer: brd.
brd edited edge metadata.

Looks good to me!

This revision is now accepted and ready to land.May 21 2016, 1:55 AM
This revision was automatically updated to reflect the committed changes.