Sunday, July 29, 2012

How to Automatic root login in Debian 6.0 without GUI (xserver)?

You can enable the autologin by modifying the inittab file.

#vim /etc/inittab

Serach for the line.

1:2345:respawn:/sbin/getty 38400 tty1

Replace with as follow

1:1235:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1

After modifying the inittab restart the system.

Note: before modifying the inittab, keep the backup of it.

No comments:

Post a Comment