PrepAway - Latest Free Exam Questions & Answers

Which action enables syslogd to record information about TCP connections to the /var/tcp/logs file?

Given the excerpts from the inetd manual page and the syslog configuration: -t Instruct inetd to trace the incoming connections for all of its TCP services. It does this by logging the clients IP address and TCP port number, along with the name of the service, using the syslog(3c) facil- ity. "Wait" wait-status services cannot be traced. When tracking is enabled, inetd uses the syslog facility code “daemon" and “notice" priority level. See FILES. *.err;kern.notice;auth.notice /dev/sysmsg *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages Which action enables syslogd to record information about TCP connections to the /var/tcp/logs file?

PrepAway - Latest Free Exam Questions & Answers

A.
Add an additional entry to the syslog configuration file using the format daemon.notice /var/tcp/logs and then do nothing else, as syslogd will automatically reread the file.

B.
Add an additional entry to the syslog configuration file using the format daemon.notice /var/tcp/logs and then send a HUP signal to syslogd to force it to reread the file.

C.
Modify the second syslog configuration file entry so that the action field follows the format /var/adm/messages,/var/log/tcp and then send a HUP signal to syslogd to force it to reread the file.

D.
Modify the second syslog configuration file entry so that the action field follows the format /var/adm/messages,/var/log/tcp and then do nothing else, as syslog will automatically reread action field changes.


Leave a Reply