1.\"- 2.\" Copyright (c) 2000 Brian Somers <brian@Awfulhak.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ 27.\" 28.Dd December 25, 2013 29.Dt PERIODIC.CONF 5 30.Os 31.Sh NAME 32.Nm periodic.conf 33.Nd periodic job configuration information 34.Sh DESCRIPTION 35The file 36.Nm 37contains a description of how daily, weekly and monthly system maintenance 38jobs should run. 39It resides in the 40.Pa /etc/defaults 41directory and parts may be overridden by a file of the same name in 42.Pa /etc , 43which itself may be overridden by the 44.Pa /etc/periodic.conf.local 45file. 46.Pp 47The 48.Nm 49file 50is actually sourced as a shell script from each of the periodic scripts 51and is intended to simply provide default configuration variables. 52.Pp 53The following variables are used by 54.Xr periodic 8 55itself: 56.Bl -tag -offset 4n -width 2n 57.It Va local_periodic 58.Pq Vt str 59List of directories to search for periodic scripts. 60This list is always prefixed with 61.Pa /etc/periodic , 62and is only used when an argument to 63.Xr periodic 8 64is not an absolute directory name. 65.It Ao Ar dir Ac Ns Va _output 66.Pq Vt path No or Vt list 67What to do with the output of the scripts executed from 68the directory 69.Ar dir . 70If this variable is set to an absolute path name, output is logged to 71that file, otherwise it is taken as one or more space separated email 72addresses and mailed to those users. 73If this variable is not set or is empty, output is sent to standard output. 74.Pp 75For an unattended machine, suitable values for 76.Va daily_output , 77.Va weekly_output , 78and 79.Va monthly_output 80might be 81.Dq Li /var/log/daily.log , 82.Dq Li /var/log/weekly.log , 83and 84.Dq Li /var/log/monthly.log 85respectively, as 86.Xr newsyslog 8 87will rotate these files (if they exists) at the appropriate times. 88.It Ao Ar dir Ac Ns Va _show_success 89.It Ao Ar dir Ac Ns Va _show_info 90.It Ao Ar dir Ac Ns Va _show_badconfig 91.Pq Vt bool 92These variables control whether 93.Xr periodic 8 94will mask the output of the executed scripts based on their return code 95(where 96.Ar dir 97is the base directory name in which each script resides). 98If the return code of a script is 99.Sq 0 100and 101.Ao Ar dir Ac Ns Va _show_success 102is set to 103.Dq Li NO , 104.Xr periodic 8 105will mask the script's output. 106If the return code of a script is 107.Sq 1 108and 109.Ao Ar dir Ac Ns Va _show_info 110is set to 111.Dq Li NO , 112.Xr periodic 8 113will mask the script's output. 114If the return code of a script is 115.Sq 2 116and 117.Ao Ar dir Ac Ns Va _show_badconfig 118is set to 119.Dq Li NO , 120.Xr periodic 8 121will mask the script's output. 122If these variables are set to neither 123.Dq Li YES 124nor 125.Dq Li NO , 126they default to 127.Dq Li YES , 128.Dq Li YES 129and 130.Dq Li NO 131respectively. 132.Pp 133Refer to the 134.Xr periodic 8 135manual page for how script return codes are interpreted. 136.El 137.Pp 138The following variables are used by the standard scripts that reside in 139.Pa /etc/periodic/daily : 140.Bl -tag -offset 4n -width 2n 141.It Va daily_clean_disks_enable 142.Pq Vt bool 143Set to 144.Dq Li YES 145if you want to remove all files matching 146.Va daily_clean_disks_files 147daily. 148.It Va daily_clean_disks_files 149.Pq Vt str 150Set to a list of file names to match. 151Wild cards are permitted. 152.It Va daily_clean_disks_days 153.Pq Vt num 154When 155.Va daily_clean_disks_enable 156is set to 157.Dq Li YES , 158this must also be set to the number of days old that a file's access 159and modification times must be before it is deleted. 160.It Va daily_clean_disks_verbose 161.Pq Vt bool 162Set to 163.Dq Li YES 164if you want the removed files to be reported in your daily output. 165.It Va daily_clean_tmps_enable 166.Pq Vt bool 167Set to 168.Dq Li YES 169if you want to clear temporary directories daily. 170.It Va daily_clean_tmps_dirs 171.Pq Vt str 172Set to the list of directories to clear if 173.Va daily_clean_tmps_enable 174is set to 175.Dq Li YES . 176.It Va daily_clean_tmps_days 177.Pq Vt num 178When 179.Va daily_clean_tmps_enable 180is set, this must also be set to the number of days old that a file's access 181and modification times must be before it is deleted. 182.It Va daily_clean_tmps_ignore 183.Pq Vt str 184Set to the list of files that should not be deleted when 185.Va daily_clean_tmps_enable 186is set to 187.Dq Li YES . 188Wild card characters are permitted. 189.It Va daily_clean_tmps_verbose 190.Pq Vt bool 191Set to 192.Dq Li YES 193if you want the removed files to be reported in your daily output. 194.It Va daily_clean_preserve_enable 195.Pq Vt bool 196Set to 197.Dq Li YES 198if you wish to remove old files from 199.Pa /var/preserve . 200.It Va daily_clean_preserve_days 201.Pq Vt num 202Set to the number of days that files must not have been modified before 203they are deleted. 204.It Va daily_clean_preserve_verbose 205.Pq Vt bool 206Set to 207.Dq Li YES 208if you want the removed files to be reported in your daily output. 209.It Va daily_clean_msgs_enable 210.Pq Vt bool 211Set to 212.Dq Li YES 213if you wish old system messages to be purged. 214.It Va daily_clean_msgs_days 215.Pq Vt num 216Set to the number of days that files must not have been modified before 217they are deleted. 218If this variable is left blank, the 219.Xr msgs 1 220default is used. 221.It Va daily_clean_rwho_enable 222.Pq Vt bool 223Set to 224.Dq Li YES 225if you wish old files in 226.Pa /var/who 227to be purged. 228.It Va daily_clean_rwho_days 229.Pq Vt num 230Set to the number of days that files must not have been modified before 231they are deleted. 232.It Va daily_clean_rwho_verbose 233.Pq Vt bool 234Set to 235.Dq Li YES 236if you want the removed files to be reported in your daily output. 237.It Va daily_clean_hoststat_enable 238.Pq Vt bool 239Set to 240.Dq Li YES 241to run 242.Nm sendmail Fl bH 243to automatically purge stale entries from 244.Xr sendmail 8 Ns 's 245host status cache. 246Files will be deleted using the same criteria as 247.Xr sendmail 8 248would normally use when determining whether to believe the cached information, 249as configured in 250.Pa /etc/mail/sendmail.cf . 251.It Va daily_backup_passwd_enable 252.Pq Vt bool 253Set to 254.Dq Li YES 255if you want the 256.Pa /etc/master.passwd 257and 258.Pa /etc/group 259files backed up and reported on. 260Reporting consists of checking both files for modifications and running 261.Xr chkgrp 8 262on the 263.Pa group 264file. 265.It Va daily_backup_aliases_enable 266.Pq Vt bool 267Set to 268.Dq Li YES 269if you want the 270.Pa /etc/mail/aliases 271file backed up and modifications to be displayed in your daily output. 272.It Va daily_calendar_enable 273.Pq Vt bool 274Set to 275.Dq Li YES 276if you want to run 277.Nm calendar Fl a 278daily. 279.It Va daily_accounting_enable 280.Pq Vt bool 281Set to 282.Dq Li YES 283if you want to rotate your daily accounting files. 284No rotations are necessary unless 285.Va accounting_enable 286is enabled in 287.Xr rc.conf 5 . 288.It Va daily_accounting_compress 289.Pq Vt bool 290Set to 291.Dq Li YES 292if you want your daily accounting files to be compressed using 293.Xr gzip 1 . 294.It Va daily_accounting_save 295.Pq Vt num 296When 297.Va daily_accounting_enable 298is set, this may also be set to the number of daily accounting files that are 299to be saved. 300The default is 301.Dq Li 3 . 302.It Va daily_accounting_flags 303.Pq Vt str 304Set to the arguments to pass to the 305.Xr sa 8 306utility (in addition to 307.Fl s ) 308when 309.Va daily_accounting_enable 310is set to 311.Dq Li YES . 312The default is 313.Fl q . 314.It Va daily_news_expire_enable 315.Pq Vt bool 316Set to 317.Dq Li YES 318if you want to run 319.Pa /etc/news.expire . 320.It Va daily_status_disks_enable 321.Pq Vt bool 322Set to 323.Dq Li YES 324if you want to run 325.Xr df 1 326(with the arguments supplied in 327.Va daily_status_disks_df_flags ) 328and 329.Nm dump Fl W . 330.It Va daily_status_disks_df_flags 331.Pq Vt str 332Set to the arguments for the 333.Xr df 1 334utility when 335.Va daily_status_disks_enable 336is set to 337.Dq Li YES . 338.It Va daily_status_zfs_enable 339.Pq Vt bool 340Set to 341.Dq Li YES 342if you want to run 343.Nm zpool Cm status 344on your 345.Xr zfs 8 346pools. 347.It Va daily_status_zfs_zpool_list_enable 348.Pq Vt bool 349Set to 350.Dq Li YES 351if you want to run 352.Nm zpool Cm list 353on your 354.Xr zfs 8 355pools. 356Requires 357.Va daily_status_zfs_enable 358to be set to 359.Li YES . 360.It Va daily_status_gmirror_enable 361.Pq Vt bool 362Set to 363.Dq Li YES 364if you want to run 365.Nm gmirror Cm status 366on your 367.Xr gmirror 8 368devices. 369.It Va daily_status_graid3_enable 370.Pq Vt bool 371Set to 372.Dq Li YES 373if you want to run 374.Nm graid3 Cm status 375on your 376.Xr graid3 8 377devices. 378.It Va daily_status_gstripe_enable 379.Pq Vt bool 380Set to 381.Dq Li YES 382if you want to run 383.Nm gstripe Cm status 384on your 385.Xr gstripe 8 386devices. 387.It Va daily_status_gconcat_enable 388.Pq Vt bool 389Set to 390.Dq Li YES 391if you want to run 392.Nm gconcat Cm status 393on your 394.Xr gconcat 8 395devices. 396.It Va daily_status_network_enable 397.Pq Vt bool 398Set to 399.Dq Li YES 400if you want to run 401.Nm netstat Fl i . 402.It Va daily_status_network_usedns 403.Pq Vt bool 404Set to 405.Dq Li YES 406if you want to run 407.Xr netstat 1 408without the 409.Fl n 410option (to do DNS lookups). 411.It Va daily_status_rwho_enable 412.Pq Vt bool 413Set to 414.Dq Li YES 415if you want to run 416.Xr uptime 1 417(or 418.Xr ruptime 1 419if 420.Va rwhod_enable 421is set to 422.Dq Li YES 423in 424.Pa /etc/rc.conf ) . 425.It Va daily_status_mailq_enable 426.Pq Vt bool 427Set to 428.Dq Li YES 429if you want to run 430.Xr mailq 1 . 431.It Va daily_status_mailq_shorten 432.Pq Vt bool 433Set to 434.Dq Li YES 435if you want to shorten the 436.Xr mailq 1 437output when 438.Va daily_status_mailq_enable 439is set to 440.Dq Li YES . 441.It Va daily_status_include_submit_mailq 442.Pq Vt bool 443Set to 444.Dq Li YES 445if you also want to run 446.Xr mailq 1 447on the submit mail queue when 448.Va daily_status_mailq_enable 449is set to 450.Dq Li YES . 451This may not work with MTAs other than 452.Xr sendmail 8 . 453.It Va daily_status_security_enable 454.Pq Vt bool 455Set to 456.Dq Li YES 457if you want to run the security check. 458The security check is another set of 459.Xr periodic 8 460scripts. 461The system defaults are in 462.Pa /etc/periodic/security . 463Local scripts should be placed in 464.Pa /usr/local/etc/periodic/security . 465See the 466.Xr periodic 8 467manual page for more information. 468.It Va daily_status_security_inline 469.Pq Vt bool 470Set to 471.Dq Li YES 472if you want the security check output inline. 473The default is to either mail or log the output according to the value of 474.Va daily_status_security_output . 475.It Va daily_status_security_output 476.Pq Vt str 477Where to send the output of the security check if 478.Va daily_status_security_inline 479is set to 480.Dq Li NO . 481This variable behaves in the same way as the 482.Va *_output 483variables above, namely it can be set either to one or more email addresses 484or to an absolute file name. 485.It Va daily_status_mail_rejects_enable 486.Pq Vt bool 487Set to 488.Dq Li YES 489if you want to summarise mail rejections logged to 490.Pa /var/log/maillog 491for the previous day. 492.It Va daily_status_mail_rejects_logs 493.Pq Vt num 494Set to the number of maillog files that should be checked 495for yesterday's mail rejects. 496.It Va daily_status_ntpd 497.Pq Vt bool 498Set to 499.Dq Li YES 500if you want to enable NTP status check. 501.It Va daily_queuerun_enable 502.Pq Vt bool 503Set to 504.Dq Li YES 505if you want to manually run the mail queue at least once a day. 506.It Va daily_submit_queuerun 507.Pq Vt bool 508Set to 509.Dq Li YES 510if you also want to manually run the submit mail queue at least once a day 511when 512.Va daily_queuerun_enable 513is set to 514.Dq Li YES . 515.It Va daily_scrub_zfs_enable 516.Pq Vt bool 517Set to 518.Dq Li YES 519if you want to run a zfs scrub periodically. 520.It Va daily_scrub_zfs_pools 521.Pq Vt str 522A space separated list of names of zfs pools to scrub. 523If the list is empty or not set, all zfs pools are scrubbed. 524.It Va daily_scrub_zfs_default_threshold 525.Pq Vt int 526Number of days between a scrub if no pool-specific threshold is set. 527If not set, the default value is 35, corresponding to 5 weeks. 528.It Va daily_scrub_zfs_ Ns Ao Ar poolname Ac Ns Va _threshold 529.Pq Vt int 530The same as 531.Va daily_scrub_zfs_default_threshold 532but specific to the pool 533.Ao Ar poolname Ac Ns . 534.It Va daily_local 535.Pq Vt str 536Set to a list of extra scripts that should be run after all other 537daily scripts. 538All scripts must be absolute path names. 539.El 540.Pp 541The following variables are used by the standard scripts that reside in 542.Pa /etc/periodic/weekly : 543.Bl -tag -offset 4n -width 2n 544.It Va weekly_locate_enable 545.Pq Vt bool 546Set to 547.Dq Li YES 548if you want to run 549.Pa /usr/libexec/locate.updatedb . 550This script is run using 551.Nm nice Fl 5 552as user 553.Dq Li nobody , 554and generates the table used by the 555.Xr locate 1 556command. 557.It Va weekly_whatis_enable 558.Pq Vt bool 559Set to 560.Dq Li YES 561if you want to run 562.Pa /usr/libexec/makewhatis.local . 563This script regenerates the database used by the 564.Xr apropos 1 565command. 566.It Va weekly_catman_enable 567.Pq Vt bool 568Set to 569.Dq Li YES 570if you want to run 571.Pa /usr/libexec/catman.local . 572This script processes all out of date manual pages, speeding up the 573.Xr man 1 574command at the expense of disk space. 575.It Va weekly_noid_enable 576.Pq Vt bool 577Set to 578.Dq Li YES 579if you want to locate orphaned files on the system. 580An orphaned file is one with an invalid owner or group. 581.It Va weekly_noid_dirs 582.Pq Vt str 583A list of directories under which orphaned files are searched for. 584This would usually be set to 585.Pa / . 586.It Va weekly_status_security_enable 587.Pq Vt bool 588Weekly counterpart of 589.Va daily_status_securiy_enable . 590.It Va weekly_status_security_inline 591.Pq Vt bool 592Weekly counterpart of 593.Va daily_status_securiy_inline . 594.It Va weekly_status_security_output 595.Pq Vt str 596Weekly counterpart of 597.Va daily_status_securiy_output . 598.It Va weekly_status_pkg_enable 599.Pq Vt bool 600Set to 601.Dq Li YES 602if you want to use 603.Xr pkg_version 1 604to list installed packages which are out of date. 605.It Va pkg_version 606.Pq Vt str 607When 608.Va weekly_status_pkg_enable 609is set to 610.Dq Li YES , 611this variable specifies the program that is used to determine the out of 612date packages. 613If unset, the 614.Xr pkg_version 1 615program is used. 616As an example, this variable might be set to 617.Dq Li portversion 618if the 619.Pa ports/sysutils/portupgrade 620port has been installed. 621.It Va pkg_version_index 622.Pq Vt str 623This variable specifies the 624.Pa INDEX 625file from 626.Pa /usr/ports 627that should be used by 628.Xr pkg_version 1 . 629Because the dependency tree may be substantially different between versions of 630.Fx , 631there may be more than one 632.Pa INDEX 633file in 634.Pa /usr/ports . 635.Pp 636Note, if the 637.Va pkg_version 638variable is set to 639.Dq Li portversion , 640it will also be necessary to arrange that the correct 641.Pa INDEX 642file is specified 643using environment variables and that 644.Va pkg_version_index 645is cleared in 646.Pa /etc/periodic.conf 647.Pq Dq Li pkg_version_index= . 648.It Va weekly_local 649.Pq Vt str 650Set to a list of extra scripts that should be run after all other 651weekly scripts. 652All scripts must be absolute path names. 653.El 654.Pp 655The following variables are used by the standard scripts that reside in 656.Pa /etc/periodic/monthly : 657.Bl -tag -offset 4n -width 2n 658.It Va monthly_accounting_enable 659.Pq Vt bool 660Set to 661.Dq Li YES 662if you want to do login accounting using the 663.Xr ac 8 664command. 665.It Va monthly_status_security_enable 666.Pq Vt bool 667Monthly counterpart of 668.Va daily_status_securiy_enable . 669.It Va monthly_status_security_inline 670.Pq Vt bool 671Monthly counterpart of 672.Va daily_status_securiy_inline . 673.It Va monthly_status_security_output 674.Pq Vt str 675Monthly counterpart of 676.Va daily_status_securiy_output . 677.It Va monthly_local 678.Pq Vt str 679Set to a list of extra scripts that should be run after all other 680monthly scripts. 681All scripts must be absolute path names. 682.El 683.Pp 684The following variables are used by the standard scripts that reside in 685.Pa /etc/periodic/security . 686Those scripts are usually run from daily 687.Pq Va daily_status_security_enable , 688weekly 689.Pq Va weekly_status_security_enable , 690and monthly 691.Pq Va monthly_status_security_enable 692periodic hooks. 693The 694.Va ..._period 695of each script can be configured as 696.Dq daily , 697.Dq weekly , 698.Dq monthly 699or 700.Dq NO . 701Note that when periodic security scripts are run from 702.Xr crontab 5 , 703they will be always run unless their 704.Va ..._enable 705or 706.Va ..._period 707variable is set to 708.Dq No . 709.Bl -tag -offset 4n -width 2n 710.It Va security_status_diff_flags 711.Pq Vt str 712Set to the arguments to pass to the 713.Xr diff 1 714utility when generating differences. 715The default is 716.Fl b u . 717.It Va security_status_chksetuid_enable 718.Pq Vt bool 719Set to 720.Dq Li YES 721to compare the modes and modification times of setuid executables with 722the previous day's values. 723.It Va security_status_chksetuid_period 724.Pq Vt str 725Set to either 726.Dq Li daily , 727.Dq Li weekly , 728.Dq Li monthly 729or 730.Dq Li NO . 731.It Va security_status_chkportsum_enable 732.Pq Vt bool 733Set to 734.Dq Li YES 735to verify checksums of all installed packages against the known checksums in 736.Pa /var/db/pkg . 737.It Va security_status_chkportsum_period 738.Pq Vt str 739Set to either 740.Dq Li daily , 741.Dq Li weekly , 742.Dq Li monthly 743or 744.Dq Li NO . 745.It Va security_status_neggrpperm_enable 746.Pq Vt bool 747Set to 748.Dq Li YES 749to check for files where the group of a file has less permissions than 750the world at large. 751When users are in more than 14 supplemental groups these negative 752permissions may not be enforced via NFS shares. 753.It Va security_status_neggrpperm_period 754.Pq Vt str 755Set to either 756.Dq Li daily , 757.Dq Li weekly , 758.Dq Li monthly 759or 760.Dq Li NO . 761.It Va security_status_chkmounts_enable 762.Pq Vt bool 763Set to 764.Dq Li YES 765to check for changes mounted file systems to the previous day's values. 766.It Va security_status_chkmounts_period 767.Pq Vt str 768Set to either 769.Dq Li daily , 770.Dq Li weekly , 771.Dq Li monthly 772or 773.Dq Li NO . 774.It Va security_status_noamd 775.Pq Vt bool 776Set to 777.Dq Li YES 778if you want to ignore 779.Xr amd 8 780mounts when comparing against yesterday's file system mounts in the 781.Va security_status_chkmounts_enable 782check. 783.It Va security_status_chkuid0_enable 784.Pq Vt bool 785Set to 786.Dq Li YES 787to check 788.Pa /etc/master.passwd 789for accounts with UID 0. 790.It Va security_status_chkuid0_period 791.Pq Vt str 792Set to either 793.Dq Li daily , 794.Dq Li weekly , 795.Dq Li monthly 796or 797.Dq Li NO . 798.It Va security_status_passwdless_enable 799.Pq Vt bool 800Set to 801.Dq Li YES 802to check 803.Pa /etc/master.passwd 804for accounts with empty passwords. 805.It Va security_status_passwdless_period 806.Pq Vt str 807Set to either 808.Dq Li daily , 809.Dq Li weekly , 810.Dq Li monthly 811or 812.Dq Li NO . 813.It Va security_status_logincheck_enable 814.Pq Vt bool 815Set to 816.Dq Li YES 817to check 818.Pa /etc/login.conf 819ownership, see 820.Xr login.conf 5 821for more information. 822.It Va security_status_logincheck_period 823.Pq Vt str 824Set to either 825.Dq Li daily , 826.Dq Li weekly , 827.Dq Li monthly 828or 829.Dq Li NO . 830.It Va security_status_ipfwdenied_enable 831.Pq Vt bool 832Set to 833.Dq Li YES 834to show log entries for packets denied by 835.Xr ipfw 8 836since yesterday's check. 837.It Va security_status_ipfwdenied_period 838.Pq Vt str 839Set to either 840.Dq Li daily , 841.Dq Li weekly , 842.Dq Li monthly 843or 844.Dq Li NO . 845.It Va security_status_ipfdenied_enable 846.Pq Vt bool 847Set to 848.Dq Li YES 849to show log entries for packets denied by 850.Xr ipf 8 851since yesterday's check. 852.It Va security_status_ipfdenied_period 853.Pq Vt str 854Set to either 855.Dq Li daily , 856.Dq Li weekly , 857.Dq Li monthly 858or 859.Dq Li NO . 860.It Va security_status_pfdenied_enable 861.Pq Vt bool 862Set to 863.Dq Li YES 864to show log entries for packets denied by 865.Xr pf 4 866since yesterday's check. 867.It Va security_status_pfdenied_period 868.Pq Vt str 869Set to either 870.Dq Li daily , 871.Dq Li weekly , 872.Dq Li monthly 873or 874.Dq Li NO . 875.It Va security_status_ipfwlimit_enable 876.Pq Vt bool 877Set to 878.Dq Li YES 879to display 880.Xr ipfw 8 881rules that have reached their verbosity limit. 882.It Va security_status_ipfwlimit_period 883.Pq Vt str 884Set to either 885.Dq Li daily , 886.Dq Li weekly , 887.Dq Li monthly 888or 889.Dq Li NO . 890.It Va security_status_kernelmsg_enable 891.Pq Vt bool 892Set to 893.Dq Li YES 894to show new 895.Xr dmesg 8 896entries since yesterday's check. 897.It Va security_status_kernelmsg_period 898.Pq Vt str 899Set to either 900.Dq Li daily , 901.Dq Li weekly , 902.Dq Li monthly 903or 904.Dq Li NO . 905.It Va security_status_loginfail_enable 906.Pq Vt bool 907Set to 908.Dq Li YES 909to display failed logins from 910.Pa /var/log/messages 911in the previous day. 912.It Va security_status_loginfail_period 913.Pq Vt str 914Set to either 915.Dq Li daily , 916.Dq Li weekly , 917.Dq Li monthly 918or 919.Dq Li NO . 920.It Va security_status_tcpwrap_enable 921.Pq Vt bool 922Set to 923.Dq Li YES 924to display connections denied by tcpwrappers (see 925.Xr hosts_access 5 ) 926from 927.Pa /var/log/messages 928during the previous day. 929.It Va security_status_tcpwrap_period 930.Pq Vt str 931Set to either 932.Dq Li daily , 933.Dq Li weekly , 934.Dq Li monthly 935or 936.Dq Li NO . 937.El 938.Sh FILES 939.Bl -tag -width ".Pa /etc/defaults/periodic.conf" 940.It Pa /etc/defaults/periodic.conf 941The default configuration file. 942This file contains all default variables and values. 943.It Pa /etc/periodic.conf 944The usual system specific variable override file. 945.It Pa /etc/periodic.conf.local 946An additional override file, useful when 947.Pa /etc/periodic.conf 948is shared or distributed. 949.El 950.Sh SEE ALSO 951.Xr apropos 1 , 952.Xr calendar 1 , 953.Xr df 1 , 954.Xr diff 1 , 955.Xr gzip 1 , 956.Xr locate 1 , 957.Xr man 1 , 958.Xr msgs 1 , 959.Xr netstat 1 , 960.Xr nice 1 , 961.Xr pkg_version 1 , 962.Xr login.conf 5 , 963.Xr rc.conf 5 , 964.Xr ac 8 , 965.Xr chkgrp 8 , 966.Xr dump 8 , 967.Xr newsyslog 8 , 968.Xr periodic 8 , 969.Xr sendmail 8 970.Sh HISTORY 971The 972.Nm 973file appeared in 974.Fx 4.1 . 975.Sh AUTHORS 976.An Brian Somers Aq brian@Awfulhak.org 977