Bug 125041 - [patch] periodic(8) new file: /etc/periodic/security/810.loginok
Summary: [patch] periodic(8) new file: /etc/periodic/security/810.loginok
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 7.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2008-06-27 10:20 UTC by a
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:

file.txt (815 bytes, text/plain)
2008-06-27 10:20 UTC, a
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description a 2008-06-27 10:20:05 UTC
For hosts with high security level and which not have very many users, such routers, DB servers etc there is sense to daily check sucsessful logins, like login failures checked now by /etc/periodic/security/800.loginfail.
Suggest to create periodic script /etc/periodic/security/810.loginok (attached) and new variable daily_status_security_loginok_enable in periodic.conf.

Fix: Save the attached script as /etc/periodic/security/810.loginok
and add this line to /etc/periodic.conf:

Suggested default entry for /etc/defaults/periodic.conf:
# 810.loginok

Patch attached with submission follows:
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:34 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped