Page MenuHomeFreeBSD

D60171.1795195635.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D60171.1795195635.diff

diff --git a/contrib/openbsm/etc/audit_warn b/contrib/openbsm/etc/audit_warn
--- a/contrib/openbsm/etc/audit_warn
+++ b/contrib/openbsm/etc/audit_warn
@@ -1,3 +1,2 @@
#!/bin/sh
-
-logger -p security.warning "audit warning: $@"
+exec /usr/bin/logger -p security.warning "audit warning: $@"
diff --git a/contrib/openbsm/man/audit_warn.5 b/contrib/openbsm/man/audit_warn.5
--- a/contrib/openbsm/man/audit_warn.5
+++ b/contrib/openbsm/man/audit_warn.5
@@ -25,7 +25,7 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 17, 2004
+.Dd September 30, 2026
.Dt AUDIT_WARN 5
.Os
.Sh NAME
@@ -41,19 +41,18 @@
.Pp
The default
.Nm
-is a script whose first parameter is the type of warning; the script
-appends its arguments to
-.Pa /etc/security/audit_messages .
+is a script which passes its arguments on to
+.Xr logger 1 .
Administrators may replace this script: a more comprehensive one would take
different actions based on the type of warning.
For example, a low-space warning
could result in an email message being sent to the administrator.
.Sh FILES
-.Bl -tag -width ".Pa /etc/security/audit_messages" -compact
+.Bl -tag -width "/etc/security/audit_warn" -compact
.It Pa /etc/security/audit_warn
-.It Pa /etc/security/audit_messages
.El
.Sh SEE ALSO
+.Xr logger 1 ,
.Xr audit 4 ,
.Xr auditd 8
.Sh HISTORY

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 20, 5:27 PM (17 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41872337
Default Alt Text
D60171.1795195635.diff (1 KB)

Event Timeline