How to prevent root login at serial console in RHEL 6?

Solution Unverified - Updated -

Issue

  • When a serial console is set up in RHEL6, a root user is automatically permitted to login at serial console. How to prevent that?
  • For example, append "console=ttyS0" in /etc/grub.conf and then reboot OS, "ttyS0" is automatically added to /etc/securetty.

Environment

  • Red Hat Enterprise Linux 6
  • initscripts-9.03.31-2.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content