Help Center> Bare Metal Server> Private Image Creation Guide> Linux> Configuring Remote Login to a BMS> x86: Oracle Linux 6 series/Red Hat 6 series/CentOS 6
Updated on 2022-08-24 GMT+08:00

x86: Oracle Linux 6 series/Red Hat 6 series/CentOS 6

This section uses the configuration files of Red Hat 6.7 as an example. Configuration files of other types of OSs may be different.

  1. Use the vi editor to open the /boot/grub/grub.conf file, locate hiddenmenu, and add the following information after hiddenmenu:
    serial --unit=0 --speed=115200
    terminal --timeout=5 serial console

    Add the following information to the end of the line that contains kernel:

    consoleblank=600 console=tty0 console=ttyS0,115200n8

  2. To enable user root to log in to the BMS through a serial port, add ttyS0 to the end of the security configuration file /etc/securetty.