The /etc/securetty file must have mode 0600 or less permissive.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN000000-LNX00660

Associated with: CCI-000225 CCI-000366

SV-63071r1_rule The /etc/securetty file must have mode 0600 or less permissive.

Vulnerability discussion

The securetty file contains the list of terminals permitting direct root logins. It must be protected from unauthorized modification.

Check content

Check /etc/securetty permissions. Procedure: # ls -lL /etc/securetty If /etc/securetty has a mode more permissive than 0600, this is a finding.

Fix text

Change the mode of the /etc/securetty file to 0600. Procedure: # chmod 0600 /etc/securetty

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