KOAN Software embedded winCE

Contattaci ITA ENG

 

 

KOAN SOFTWARE ®

 
Home » Supporto »

 

Linux autologin (updated)

26.November.2003 Marco - marco [Letto 13514 volte]

How to Autologin as a root

Autologin is a tool that lets you bypass the login screens on a unix system.
It needs to be installed and configured by root (it is definitely not a cracking tool ;) ).
Possible uses include providing a simple end-user system as well as creating a one-purpose (e.g. web browsing) station that returns to where it's supposed to be after a reboot or power outage without any intervention.

New more clean solution

Edit /etc/inittab and add --autologin root to all the mingetty lines of the inittab, so your inittab would look something like this:

1:2345:respawn:/sbin/mingetty --autologin root tty1
2:2345:respawn:/sbin/mingetty --autologin root tty2
3:2345:respawn:/sbin/mingetty --autologin root tty3
4:2345:respawn:/sbin/mingetty --autologin root tty4
5:2345:respawn:/sbin/mingetty --autologin root tty5
6:2345:respawn:/sbin/mingetty --autologin root tty6

Reboot the system and your done.
The system autologins into the root account.

ftp://ftp.koansoftware.com/public/linux/autologin/autologin-1.0.0.tar.bz2

Yet another solution

Use the nuts-n-bolts method http://www.linuxgazette.com/issue72/chung.html

 
©Copyright 1996-2010 KOAN SAS - PIVA:IT02460270164