1.199 ALMA-09-025430

Information

AlmaLinux OS 9 must use a separate file system for /var.

GROUP ID: V-269304
RULE ID: SV-269304r1050186

Ensuring that "/var" is mounted on its own partition enables the setting of more restrictive mount options. This helps protect system services such as daemons or other programs which use it. It is not uncommon for the "/var" directory to contain world-writable directories installed by other software packages.

Solution

Migrate the "/var" path onto a separate file system.

See Also

https://workbench.cisecurity.org/benchmarks/27039