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.
In more detail
Installers and tools such as cloud-init write drop-ins so their settings survive upgrades of the main file. Drop-ins are read in sorted filename order at the point where the Include line sits. For sshd the first value read wins, so a drop-in included at the top can silently override a carefully hardened main file, which is why audits check the effective configuration.
Examples
/etc/ssh/sshd_config.d/50-cloud-init.confInclude sshd_config.d/*.confRelated 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.
- cloud-init — The standard tool that sets up a cloud server on its first boot, creating users, installing SSH keys and packages, and writing configuration.
- 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.
- configuration drift — The slow, unrecorded way machines end up with different versions and settings from each other.
Taught in
- Security Governance vs Security Management — Cybersecurity Fundamentals, GRC & Cryptography
- Security Baselines, Policies & Hardening Standards — Cybersecurity Fundamentals, GRC & Cryptography