If you, like me, want to connect the Raspi to a screen without having a keyboard you probably want to remove the password protection.
To do that, we only need to change a single line in the file
Changes step by step
sudo nano /etc/inittab. This will open up the files content in the nano editor.
- Scroll down (using cursor arrows) until you see this line:
1:2345:respawn:/sbin/getty --noclear 38400 tty1
- Add a
#before this line to uncomment is and a new line below, containing:
1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1
ctrl + Oconfirm to save the changes by hitting
ctrl + Xto close the nano editor
Your Raspi should now boot without prompting you for a password, if so, Congratulations! you are done!