close

remove root password

==============================

vi /etc/shadow

root:xx:

xx = your password

 ==============================

 

Create autologin file in RHEL / CentOS 6

 

vi /autologin #you can choose your own path

exec /bin/login -f root

modify autologin file 

chmod 777 /autologin

 

=============================== 

vi /etc/init/serial.conf

comment out exec line

#exec /sbin/agetty /dev/$DEV xxxxxxxxx..........

exec /sbin/agetty -n -l /autologin 57600 ttyS0

 

arrow
arrow
    全站熱搜

    clint0922 發表在 痞客邦 留言(0) 人氣()