For automatic login, you will need to create a user (and the home directory is required).
I will use guest.
Create a file (autologin) in /sbin
In the file, add:
exec su --login guest
Save it and make it executable:
chmod 755 autologin
In the /etc/inittab, replace the line
1:2345:respawn:/sbin/mingetty tty1
with
1:2345:respawn:/sbin/autologin tty1
You should set automatic login on tty1, since tty1 is where the guest login will default to.
|