Using rungetty from inittab for an autologin

From: bad_knee (bl8n8r_at_yahoo.com)
Date: 10/26/03


Date: 26 Oct 2003 02:15:10 -0800

I had to find rungetty_1.2 in order to get the --autologin feature to
work.
Earlier versions apparently dont support that parameter.

To get an autologin for user fishbin on the first console session in
runlevel 3 only.
(This is under mandrake 9.1)

/etc/inittab
---------------
# Run gettys in standard runlevels
1:3:once:/usr/sbin/rungetty -u fishbin --autologin fishbin tty1
#1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6