2012年3月14日 星期三

[Linux] how to login centos 6 text mode by user

記錄一下
在centos 6.2裡開機自動login user in text mode

for text based autologin in RHEL6, edit /etc/init/tty.conf

[user@localhost /]# sudo vi /etc/init/tty.conf
# tty  - getty 
#
# This service starts the configured number of gettys.


stop on RUNLEVEL=[S016]

respawn
instance $TTY
#exec /sbin/mingeety $TTY
exec /sbin/mingetty --autologin username $TTY //改成這樣


參考: http://sudhaker.com/23/centos-rhel-6-autologin

沒有留言:

張貼留言