Chapter 3 Flashcards
Which of the following is not a standard syslog facility?
games
Which of the following syslog priorities ranks lowest in terms of significance?
info
Which of the following syslog facilities is generally used for authentication failures?
authpriv
All log files in Red Hat Enterprise Linux are found under what directory?
/var/log/
Which of the following files in considered the default Red Hat Enterprise Linux log file?
None of the above
Use the following rsyslog.conf configuration file to answer the next 4 questions about the rsyslogd daemon.
kern. * root
* .info;mail.none;authpriv.none;cron.none /var/log/messages
authpriv. * secure
mail. * @logger.example.com
cron. * /var/log/cron
* .emerg *
-
What will happen to a message logged using the kern facility and notice priority?
The message will be displayed on the root user’s console
The message will be appended to /var/log/messages
What will happen to a message logged using the authpriv facility and info priority?
The message will be displayed on the console of the user named secure
What will happen to a message logged using the auth facility and emerg priority?
The message will be displayed on every user’s console
What will happen to a message logged using the mail facility and err priority?
The message will be forwarded to the machine logger.example.com
The imklog module spends its life monitoring what file?
/proc/kmsg