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)
Mar 12 2024, 9:15 AM
Unknown Object (File)
Mar 12 2024, 9:15 AM
Unknown Object (File)
Mar 12 2024, 9:15 AM
Unknown Object (File)
Mar 8 2024, 5:27 AM
Unknown Object (File)
Jan 4 2024, 8:26 AM
Unknown Object (File)
Jan 4 2024, 8:26 AM
Unknown Object (File)
Jan 4 2024, 8:26 AM
Unknown Object (File)
Jan 4 2024, 4:16 AM
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.