How to prevent root login at serial console in RHEL 6?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
