Auto login

 Fedora20 minimal server

 change /usr/lib/systemd/system/[email protected]  likes this and reboot

ExecStart=-/sbin/agetty --noclear %I

==>

ExecStart=-/sbin/agetty  --autologin  zhj  --noclear %I



 

 

Centos6.5 minimal server

change  /etc/init/tty.conf
exec /sbin/mingetty $TTY
===>
exec /sbin/mingetty --autologin zhj $TTY

References

http://www.linuxjournal.com/article/3121?page=0,1

http://forums.fedoraforum.org/showthread.php?t=297228

http://blog.hostonnet.com/auto-login-to-linux-console-in-centos-6

猜你喜欢

转载自ylzhj02.iteye.com/blog/2043257