Ensure that All Root's Path Directories Are Owned by Root

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Description

For each element in root’s path, run:

# ls -ld DIR
         

and ensure that the directory is owned by the root user.

Rationale

Directories in root’s path that are not owned by root could allow unprivileged users to manipulate the execution environment of root, potentially leading to privilege escalation or execution of malicious code.