Login as root

This commit is contained in:
Michel-FK
2020-05-31 19:34:53 +02:00
parent 1d361b9901
commit edd0586bd3
3 changed files with 7 additions and 101 deletions

View File

@@ -27,13 +27,12 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
::sysinit:/bin/hostname -F /etc/hostname
::sysinit:/sbin/syslogd
::sysinit:/sbin/klogd
# now run any rc scripts
::sysinit:/etc/init.d/rcS
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
#ttyS0::respawn:/sbin/getty -L -n -l /loginroot.sh ttyS0 115200 vt100 # GENERIC_SERIAL
::respawn:-/bin/sh
# Start an automatic root login on the console
::respawn:-/bin/login -f root
# Stuff to do for the 3-finger salute
#::ctrlaltdel:/sbin/reboot