PrepAway - Latest Free Exam Questions & Answers

which two statements are true?

Given the /etc/syslog.conf file output:
#ident “@(#)syslog.conf 1.5 98/12/14 SMI” /* SunOS 5.0 */ #
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`’) names # that match m4 reserved words. Also, within ifdef’s, arguments # containing commas must be quoted.
#
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator *.alert root
*.emerg *
# if a non-loghost machine chooses to have authentication messages # sent to the loghost machine, un-comment out the following line: #auth.notice ifdef(`LOGHOST’, /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST’, /var/log/syslog, @loghost) # non-loghost machines will use the following lines to cause “user” # log messages to be logged locally.
#
ifdef(`LOGHOST’, ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator’
user.emerg *
)
If loghost is defined to be a remote system, which two statements are true? (Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
The mail.info messages are ignored.

B.
The user.err messages are sent to loghost.

C.
The mail.debug messages are logged to the /var/log/syslog file.

D.
The mail.crit messages are logged in the /var/adm/messages file and are sent to loghost.

E.
The mail.emerg messages are logged to the /var/adm/messages file, and all logged in users are notified.

One Comment on “which two statements are true?


Leave a Reply