What should be done after updating the configuration file for syslogd in order to make the changes become effective? (Choose TWO correct answers.)



A. No action is required, syslogd will notice the updated configuration file after a few minutes.
B. Send the HUP signal to the syslogd process.
C. Restart the syslogd service.
D. Run the command syslogd -u.

題解

「syslogd」提供了兩個系統工具,來處理系統記錄和Linux核心訊息,同時支援網路和IPC,所以本地端和遠端皆可使用。「/etc/syslog.conf」設定檔控制著當接收到訊息紀錄時,syslogd要做的事情。修改syslogd的設定檔之後需要重新啟動syslogd或是使用SIGHUP信號來通知syslogd使用更改後的「/etc/syslog.conf」設定檔。

因此答案是選項「B」和選項「C」。