Update configs for Phil.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-06 19:37:32 +00:00
commit 98737ad12d
33 changed files with 455 additions and 201 deletions

6
etc/logrotate.d/btmp Normal file
View file

@ -0,0 +1,6 @@
# The btmp login failure records are not rotated by default.
# Uncomment the lines below to enable rotation of btmp.
# /var/log/btmp {
# # No specific options.
# }

2
etc/logrotate.d/lastlog Normal file
View file

@ -0,0 +1,2 @@
# This file is for information only.
# /var/log/lastlog should not be rotated as it is a database, not a log file.

3
etc/logrotate.d/sulog Normal file
View file

@ -0,0 +1,3 @@
/var/log/sulog {
# No specific options.
}

6
etc/logrotate.d/syslog Normal file
View file

@ -0,0 +1,6 @@
/var/log/messages /var/log/smtp /var/log/sshd {
sharedscripts
postrotate
/bin/kill -HUP $(cat /run/syslogd.pid) >/dev/null 2>&1 || true
endscript
}

6
etc/logrotate.d/wtmp Normal file
View file

@ -0,0 +1,6 @@
# The wtmp login records are not rotated by default.
# Uncomment the lines below to enable rotation of wtmp.
# /var/log/wtmp {
# # No specific options.
# }