Ensure that Root's Path Does Not Include World or Group-Writable Directories

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

For each element in root’s path, run:

# ls -ld DIR
         

and ensure that write permissions are disabled for group and other.

Rationale

Such entries increase the risk that root could execute code provided by unprivileged users, and potentially malicious code.

PREVIEWING: safchain/fix-custom-agent