effective configuration
The settings a program actually uses once it has read every file, include and built-in default, which can differ from what any single file says.
In more detail
Configuration is often spread across a main file, included drop-in files and defaults that nobody wrote down. For OpenSSH, sshd -T parses everything, fills in defaults and prints the result without starting the server, which is the evidence an audit should compare with the standard. Searching one file with grep answers a different question and can miss an override.
Examples
sshd -T -f test_config -h hostkey | grep -Ei '^(permitrootlogin|passwordauthentication)'passwordauthentication yesRelated terms
- sshd_config — The main configuration file of the OpenSSH server, normally at /etc/ssh/sshd_config, which controls who can log in and how.
- drop-in file — A small extra configuration file placed in a directory that a main configuration file includes, used to add or change settings without editing the main file.
- configuration drift — The slow, unrecorded way machines end up with different versions and settings from each other.
- evidence — The records, files and outputs that show a control really exists and works, collected so that someone else can check it.
Taught in
- Security Baselines, Policies & Hardening Standards — Cybersecurity Fundamentals, GRC & Cryptography