Autologin with getty on linux console

1. Create autologin.c and put following code in it. int main() { execlp( “login”, “login”, “-f”, “andrew”, 0); } 2. Compile it with following command: cc autologin.c -o autologin 3. Do following changes in /etc/inittab Please add “-n -l /usr/sbin/autologin” immidiate after “/sbin/getty” Your line will be like this: c1:12345:respawn:/sbin/agetty -n -l /usr/sbin/autologin 38400 tty1…