LPIC-2 System Security Practice Question
An administrator uses logwatch to send daily summaries to root. Which configuration file controls the default logwatch behavior?
⚠ Common exam trap
Candidates often assume the main configuration file is directly in /etc/ (like /etc/logwatch.conf) or in a flat /etc/logwatch/ directory, but LPIC-2 tests knowledge of the specific subdirectory structure used by logwatch's modular configuration system.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
/etc/logwatch/conf/logwatch.conf
Logwatch uses a modular configuration system where the main configuration file is located at /etc/logwatch/conf/logwatch.conf. This file overrides the default settings found in /usr/share/logwatch/default.conf/logwatch.conf, allowing administrators to customize logwatch behavior without modifying the distribution's default files.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
/etc/logwatch.conf
Why it's wrong here
This path does not exist; logwatch config is under /etc/logwatch/.
- ✓
/etc/logwatch/conf/logwatch.conf
Why this is correct
This is the main configuration file for logwatch.
- ✗
/usr/share/logwatch/default.conf
Why it's wrong here
This is a default configuration template, not the active config file.
- ✗
/etc/logwatch/logwatch.conf
Why it's wrong here
This is not a standard path.
Go deeper
Related to this question
About these practice questions
One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.