fix root login

This commit is contained in:
Tobias Powalowski 2012-07-31 13:00:10 +02:00
parent 7dda0bbb89
commit 1273174062
6 changed files with 12 additions and 14 deletions

View file

@ -13,15 +13,15 @@ id:2:initdefault:
rc::sysinit:/etc/rc.sysinit
rh:06:wait:/etc/rc.shutdown
#c0:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 9600 ttyS0 linux
c1:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 tty1 linux
c2:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 tty2 linux
c3:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 tty3 linux
c4:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 tty4 linux
c5:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 tty5 linux
c6:2:respawn:/sbin/agetty -8 -n -l /etc/login.sh 38400 tty6 linux
#c0:2:respawn:/sbin/agetty -8 -a root -s 9600 ttyS0 linux
c1:2:respawn:/sbin/agetty -8 -a root -s 38400 tty1 linux
c2:2:respawn:/sbin/agetty -8 -a root -s 38400 tty2 linux
c3:2:respawn:/sbin/agetty -8 -a root -s 38400 tty3 linux
c4:2:respawn:/sbin/agetty -8 -a root -s 38400 tty4 linux
c5:2:respawn:/sbin/agetty -8 -a root -s 38400 tty5 linux
c6:2:respawn:/sbin/agetty -8 -a root -s 38400 tty6 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
#h0:2345:respawn:/sbin/agetty -8 -a root -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

View file

@ -1,2 +0,0 @@
#! /bin/sh
/bin/login root

View file

@ -24,7 +24,7 @@ ConditionPathExists=/dev/tty0
[Service]
Environment=TERM=linux
ExecStart=-/sbin/agetty -n -l /etc/login.sh %I 38400
ExecStart=-/sbin/agetty -a root %I 38400
Type=idle
Restart=always
RestartSec=0

View file

@ -24,7 +24,7 @@ ConditionPathExists=/dev/tty0
[Service]
Environment=TERM=linux
ExecStart=-/sbin/agetty -n -l /etc/login.sh %I 38400
ExecStart=-/sbin/agetty -a root %I 38400
Type=idle
Restart=always
RestartSec=0

View file

@ -24,7 +24,7 @@ ConditionPathExists=/dev/tty0
[Service]
Environment=TERM=linux
ExecStart=-/sbin/agetty -n -l /etc/login.sh %I 38400
ExecStart=-/sbin/agetty -a root %I 38400
Type=idle
Restart=always
RestartSec=0

View file

@ -20,7 +20,7 @@ IgnoreOnIsolate=yes
[Service]
Environment=TERM=vt102
ExecStart=-/sbin/agetty -n -l /etc/login.sh -s %I 115200,38400,9600
ExecStart=-/sbin/agetty -a root -s %I 115200,38400,9600
Type=idle
Restart=always
RestartSec=0