Show all SYSTEMD log entries recorded in the/home/student/systemdreview.txt file between 9:05:00 and 9:15:00
# echo "Journalctl--since 9:05:00--until 9:15:00" >/home/student/systemdreview.txt
Add instructions in the/etc/rsyslog.d/auth-errors.conf configuration file to log Authpriv.alert syslog messages to the/var/log/auth-errors file
# echo "Authpriv.alert/var/log/auth-errors" >/etc/rsyslog.d/auth-errors.conf
Restart Rsyslog Service
# systemctl Restart Rsyslog
=================
The following is a test of whether the above settings were successful.
Use: Logger to create a new log record in/var/log/auth-errors
# logger-p Authpriv.alert "Logging test Authpriv.alert"
Verify that the above record is logged in the/var/log/auth-errors system log file
# tail/var/log/auth-errors
My experiment:
Redhat Overall review 1 record SYSTEMD log entry rsyslogd Configure logging directives