#7255 NORM Never A: Virtual Terminals and Serial Console should autologin to root on OLPC-3
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jun 10 23:59:49 EDT 2008
#7255: Virtual Terminals and Serial Console should autologin to root on OLPC-3
-------------------------+--------------------------------------------------
Reporter: mstone | Owner: dgilmore
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: initscripts | Version: olpc-3
Keywords: rel-8.2.0:? | Verified: 0
Blocking: | Blockedby:
-------------------------+--------------------------------------------------
My suggested patch to initscripts/OLPC-3:
{{{
diff -NurP a/event.d/tty1 b/event.d/tty1
--- a/event.d/tty1 2008-05-15 12:19:26.000000000 -0400
+++ b/event.d/tty1 2008-06-10 23:17:02.000000000 -0400
@@ -13,4 +13,4 @@
stop on runlevel 6
respawn
-exec /sbin/mingetty tty1
+exec /sbin/mingetty --loginpause --autologin root --noclear tty1
diff -NurP a/event.d/tty2 b/event.d/tty2
--- a/event.d/tty2 2008-05-15 12:19:26.000000000 -0400
+++ b/event.d/tty2 2008-06-10 23:17:18.000000000 -0400
@@ -13,4 +13,4 @@
stop on runlevel 6
respawn
-exec /sbin/mingetty tty2
+exec /sbin/mingetty --loginpause --autologin root --noclear tty2
diff -NurP a/event.d/ttyS0 b/event.d/ttyS0
--- a/event.d/ttyS0 2008-06-10 23:15:58.000000000 -0400
+++ b/event.d/ttyS0 2008-06-10 23:23:57.000000000 -0400
@@ -13,4 +13,4 @@
stop on runlevel 6
respawn
-exec /sbin/agetty -w -n ttyS0 115200 vt100
+exec /sbin/agetty -l /bin/bash -w -n ttyS0 115200 vt100
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/7255>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list