The system must prevent the root account from logging in from serial consoles.

From Red Hat Enterprise Linux 6 Security Technical Implementation Guide

Part of SRG-OS-000109

Associated with: CCI-000770

SV-50295r1_rule The system must prevent the root account from logging in from serial consoles.

Vulnerability discussion

Preventing direct root login to serial port interfaces helps ensure accountability for actions taken on the systems using the root account.

Check content

To check for serial port entries which permit root login, run the following command: # grep '^ttyS[0-9]' /etc/securetty If any output is returned, then root login over serial ports is permitted. If root login over serial ports is permitted, this is a finding.

Fix text

To restrict root logins on serial ports, ensure lines of this form do not appear in "/etc/securetty": ttyS0 ttyS1 Note: Serial port entries are not limited to those listed above. Any lines starting with "ttyS" followed by numerals should be removed

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