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


Auto login_第1张图片
 

 

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

你可能感兴趣的:(login)