Skip to content

Commit

Permalink
Merge pull request #1784 from drsjb80/master
Browse files Browse the repository at this point in the history
Added authentication log file location for debian-based systems
  • Loading branch information
ddpbsd authored Nov 2, 2019
2 parents f55bac0 + 552c613 commit e5aefed
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/ossec-agent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
<location>/var/log/authlog</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/auth.log</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/secure</location>
Expand Down
5 changes: 5 additions & 0 deletions etc/ossec-local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@
<location>/var/log/authlog</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/auth.log</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/secure</location>
Expand Down
5 changes: 5 additions & 0 deletions etc/ossec-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@
<location>/var/log/authlog</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/auth.log</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/secure</location>
Expand Down
5 changes: 5 additions & 0 deletions etc/ossec.conf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@
<location>/var/log/authlog</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/auth.log</location>
</localfile>

<localfile>
<log_format>syslog</log_format>
<location>/var/log/secure</location>
Expand Down

0 comments on commit e5aefed

Please sign in to comment.