Currently, each time I restart my Ubuntu Server, it's prompting for a login password. How do I disable this feature so that I when I restart my Ubuntu server, it doesn't require me to enter credentials?
Version: Ubuntu 12.04.2 LTS
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Is not a secure procedure and you are not going to obtain anything with it (the processes are started before login), but well, these are the steps:
To enable automatic login in Ubuntu server we need to edit the tty1 configuration file. To open this file up in nano use the following command:
sudo nano /etc/init/tty1.conf
The very last line in this file should start with an exec command. Delete this line and replace it with the following:
exec /bin/login -f USERNAME < /dev/tty1 > /dev/tty1 2>&1
Note that you need to change USERNAME to the username of the user that you want to be automatically logged in. Once you reboot your system you should be automatically logged in.