PrepAway - Latest Free Exam Questions & Answers

How should you configure /etc/syslog.conf to show you all messages sent from PPP?

You are working in a graphical environment and trying to configure PPP, but you are having problems. You know that PPP uses the local2 facility for logging. To better watch what’s going on, you decide to open an Xconsole session and send all local2 messages there. How should you configure /etc/syslog.conf to show you all messages sent from PPP?

PrepAway - Latest Free Exam Questions & Answers

A.
local2.* /dev/console

B.
local2.* /dev/xconsole

C.
*.local2 /dev/xconsole

D.
*.local2 *

Explanation:
Every rule consists of two fields, a selector field and an action field. These two fields are separated by one or more spaces or tabs. The selector field specifies a pattern of facilities and priorities belonging to the specified action. The selector field consists of two parts, a facility and a priority, separated by a period (“.”).


Leave a Reply