Thursday, February 26, 2009

Linux autologin

To achieve automatic login for a use in console mode you can use a feature of mingetty.

For new fedora core edit /etc/event.d/tty1 (used to be in inittab) and change:

exec /sbin/mingetty tty1

to

exec /sbin/mingetty --noclear --autologin username tty1

That will autologin username in runlevel 3 at least.

No comments: