Common Controls Hub
The system must prevent the root account from logging in from serial consoles.
Preventing direct root login to serial port interfaces helps ensure accountability for actions taken on the systems using the root account.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide
Check Text ( C-46051r1_chk )
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 (F-43441r1_fix)
To restrict root logins on serial ports, ensure lines of this form do not appear in "/etc/securetty":
Note: Serial port entries are not limited to those listed above. Any lines starting with "ttyS" followed by numerals should be removed