All system command files must have mode 755 or less permissive.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN001200

Associated with IA controls: ECLP-1

Associated with: CCI-001499

SV-38465r1_rule All system command files must have mode 755 or less permissive.

Vulnerability discussion

Restricting permissions will protect system command files from unauthorized modification. System command files include files present in directories used by the operating system for storing default system executables and files present in directories included in the system's default executable search paths.

Check content

Check the permissions for files in /etc, /bin, /usr/bin, /usr/lbin, /sbin, and /usr/sbin. # ls -lL /etc /bin /usr/bin /usr/lbin /sbin /usr/sbin If any file listed has a mode more permissive than 755, this is a finding. Note: Elevate to Severity Code I if any file is listed as world-writable.

Fix text

Change the mode for system command files to 755 or less permissive. # chmod 755

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer