I am using Raspbian and I am trying to get it so I don't have to enter a username and password every time I switch on. I tried replacing:
1:2345:respawn:/sbin/getty --noclear 38400 tty1
1:2345:respawn:/bin/login -f pi tty2 </dev/tty1 >/dev/tty1 2>&1
in /etc/inittab. Now when i turn it on, it does a lot of loading up, but stops after:
[ ok ] Starting OpenBSD Secure Shell server: sshd.
and I can't do anything, apart from pressing Ctrl-Alt-Del which causes it to reboot. How do I get it back to how it was/get it to login automatically? Is there anyway I can get a terminal from here?
The only other changes to the system I have made are installing a few Perl modules, and re-sizing the partitions on the SD card.