I have a machine running Ubuntu Server. It has only a command-line interface. How can I make the system login with a specific user automatically (I don't want to type the username/password). I know that this is insecure and I don't care.
sudo apt-get install mingetty
/etc/event.d/tty1 and change this line:
exec /sbin/getty 38400 tty1
exec /sbin/mingetty --autologin username tty1