For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-zsz.md. A documentation index is available at /llms.txt.

Verify Root Has A Primary GID 0

Description

The root user should have a primary group of 0.

Rationale

To help ensure that root-owned files are not inadvertently exposed to other users.