summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/inittab
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-10 12:06:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-10 12:06:13 +0000
commita3b7a462d97b78d778b3ab0156485179869679cb (patch)
treead50fd97633c7a6e6005b307b5690a67b9f1fd98 /rescue/tree/etc/inittab
parent2ca1cc678a454a9f0e4709d836179c771779ec18 (diff)
downloaddrakx-a3b7a462d97b78d778b3ab0156485179869679cb.tar
drakx-a3b7a462d97b78d778b3ab0156485179869679cb.tar.gz
drakx-a3b7a462d97b78d778b3ab0156485179869679cb.tar.bz2
drakx-a3b7a462d97b78d778b3ab0156485179869679cb.tar.xz
drakx-a3b7a462d97b78d778b3ab0156485179869679cb.zip
use "mingetty --autologin" instead of calling directly "bash --login", that
way the shell has a valid controlling terminal (CTTY, accessed via /dev/tty). This is needed for ssh to work
Diffstat (limited to 'rescue/tree/etc/inittab')
-rw-r--r--rescue/tree/etc/inittab2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/tree/etc/inittab b/rescue/tree/etc/inittab
index 0348c66f4..771d7c0d4 100644
--- a/rescue/tree/etc/inittab
+++ b/rescue/tree/etc/inittab
@@ -6,7 +6,7 @@ si::sysinit:/etc/rc.sysinit
re:6:wait:/etc/rc.reboot
ca:12345:ctrlaltdel:/sbin/fakeshutdown
-1:12345:respawn:/bin/bash --login
+1:12345:respawn:/sbin/mingetty --autologin root tty1
2:23:respawn:/sbin/mingetty tty2
3:23:respawn:/sbin/mingetty tty3
4:23:respawn:/sbin/mingetty tty4