Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Unit 3 Assignment - Remote RH124 - ch11s11 N NETLAB+ x 41 Create the etcrsyslogdauti X New Tab x + C rha.ole.redhat.com/rha/app/courses/rh124-8.2/006c6f69-ced0-440b-89e2-cb2d689c9941/pages/ch11s11 Redhat.com Support
Unit 3 Assignment - Remote RH124 - ch11s11 N NETLAB+ x 41 Create the etcrsyslogdauti X New Tab x + C rha.ole.redhat.com/rha/app/courses/rh124-8.2/006c6f69-ced0-440b-89e2-cb2d689c9941/pages/ch11s11 Redhat.com Support FAQ Red Hat Academy Show Solution English ramulkey@herzing.edu Access Courses and Assignments Access Student Resources Give Feedback ? Get Support Red Hat Academy Version 1.4.2 4. Create the /etc/rsyslog.d/auth-errors.conf file, configured to have the rsyslog service write messages related to authentication and security issues to the new /var/log/auth- errors file. Use the authpriv facility and the alert priority in the configuration file. 4.1. Create the /etc/rsyslog.d/auth-errors.conf file to specify the new /var/log/auth-errors file as the destination for messages related to authentication and security issues. You may use the sudo vim /etc/rsyslog.d/auth-errors.conf command to create the configuration file. authpriv.alert /var/log/auth-errors 4.2. Restart the rsyslog service so that the changes in the configuration file take effect. [student@serverb ~]$ sudo systemctl restart rsyslog 4.3. Use the logger command to write a new log message to the /var/log/auth-errors file. Apply the -p authpriv.alert option to generate a log message relevant to authentication and security issues. [student@serverb ~]$ logger -p authpriv.alert "Logging test authpriv.alert" 4.4. Use the tail command to confirm that the /var/log/auth-errors file contains the log entry with the Logging test authpriv.alert message. [student@serverb ~]$ sudo tail /var/log/auth-errors Feb 19 11:56:07 serverb student [6038]: Logging test authpriv.alert 4.5. Log out of serverb. [student@serverb ~]$ exit logout Connection to serverb closed. [student@workstation ~]$ 74F Hide Solution Clear 9:23 PM W 9/24/2022
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started