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)
May 5 2025, 7:28 AM
Unknown Object (File)
Apr 23 2025, 2:01 AM
Unknown Object (File)
Apr 22 2025, 11:08 PM
Unknown Object (File)
Apr 22 2025, 3:57 AM
Unknown Object (File)
Apr 21 2025, 3:13 AM
Unknown Object (File)
Apr 16 2025, 11:55 AM
Unknown Object (File)
Apr 11 2025, 8:47 PM
Unknown Object (File)
Mar 11 2025, 9:09 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.