1. Indicate which entry you could add to /etc/rsyslog.conf to: a. Log all critic
ID: 3854848 • Letter: 1
Question
1. Indicate which entry you could add to /etc/rsyslog.conf to:
a. Log all critical messages from the kernel to /var/log/alert
b. Log all messages from the user processes to /var/log/userlog
c. Log all debug messages, as well as more serious messages, from the printing daemon to /var/log/printer
d. Log all messages except notices from the mail daemon to /var/log/mailman
e. Log all alerts and critical error messages to /var/log/serious
f. Log all warnings and errors from the kernel and the printing daemon to /var/log/ shared
Explanation / Answer
b. Log all messages from the user processes to /var/log/userlog
we can log all uses actions to the particular log under /var/log/userlogby the default congiguration of the file rsyslog.conf
user.* -/var/log/user.log
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.