Chapter 3 Flashcards

1
Q

Which of the following is not a standard syslog facility?

A

games

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following syslog priorities ranks lowest in terms of significance?

A

info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following syslog facilities is generally used for authentication failures?

A

authpriv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

All log files in Red Hat Enterprise Linux are found under what directory?

A

/var/log/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following files in considered the default Red Hat Enterprise Linux log file?

A

None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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 *

A

-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What will happen to a message logged using the kern facility and notice priority?

A

The message will be displayed on the root user’s console

The message will be appended to /var/log/messages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What will happen to a message logged using the authpriv facility and info priority?

A

The message will be displayed on the console of the user named secure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What will happen to a message logged using the auth facility and emerg priority?

A

The message will be displayed on every user’s console

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What will happen to a message logged using the mail facility and err priority?

A

The message will be forwarded to the machine logger.example.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The imklog module spends its life monitoring what file?

A

/proc/kmsg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly