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
Unknown Object (File)
Thu, Dec 5, 4:18 PM
Unknown Object (File)
Nov 2 2024, 3:46 AM
Unknown Object (File)
Nov 2 2024, 3:46 AM
Unknown Object (File)
Nov 2 2024, 3:46 AM
Unknown Object (File)
Nov 2 2024, 3:34 AM
Unknown Object (File)
Oct 28 2024, 2:21 PM
Unknown Object (File)
Oct 5 2024, 4:42 PM
Unknown Object (File)
Oct 4 2024, 9:56 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.