Wednesday, 15 April 2009

AUTO LOGIN

You can automatically login a user using the app rungetty

sudo aptitude install rungetty
    
It uses upstart so change the file tty1:

sudo nano /etc/event.d/tty1

Change the line

exec /sbin/getty 38400 tty1

to

exec /sbin/rungetty tty1 --autologin <username>

Where <username> is the name of the user you want to log in.

0 comments: