PrepAway - Latest Free Exam Questions & Answers

Which two are correct statements about this entry?

Your syslog configuration file contains the line:
mail.debug ifdef(‘LOGHOST’, /var/log/syslog, @loghost)
Which two are correct statements about this entry? (Choose two)

PrepAway - Latest Free Exam Questions & Answers

A.
The ifdef statement is interpreted by the syslogd daemon.

B.
If the loghost alias is set to be the local host, messages are sent to the /var/log/syslog file.

C.
If the loghost alias is not set to the local host, messages are sent to the host defined as the loghost.

D.
If the loghost alias is set to be the local host, messages are sent to the user loghost on the local system.

E.
If the loghost alias is not set to the local host, messages are emailed to the root user at the host loghost.


Leave a Reply