[3478] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

gettys - less awkward version

daemon@ATHENA.MIT.EDU (Liana Lareau)
Wed May 9 13:28:57 2001

Message-Id: <200105091728.NAA04165@multics.mit.edu>
To: linux-dev@MIT.EDU
cc: fyfer@MIT.EDU
Date: Wed, 09 May 2001 13:28:47 -0400
From: Liana Lareau <fyfer@MIT.EDU>

Ok, this is probably what I'm sending. Thanks for the input.
  Liana

The SIPB linux installer, unlike the IS installer, is configured to
use gettys to allow logins on other terminals. It generates text login
terminals on tty1 through tty6 in addition to the X login. The
terminals are created in runlevels 2 through 5. To switch between
ttys, use Ctrl-Alt-F#; F1-F6 are text terminals, and F7 returns to the
X login.

The following lines in /etc/inittab generate the default IS linux
behavior (with terminal logins disabled):

     # Run gettys in standard runlevels
     #1:2345:respawn:/sbin/getty tty1 VC linux
     #2:2345:respawn:/sbin/getty tty2 VC linux
     #3:2345:respawn:/sbin/getty tty3 VC linux
     #4:2345:respawn:/sbin/getty tty4 VC linux
     #5:2345:respawn:/sbin/getty tty5 VC linux	
     #6:2345:respawn:/sbin/getty tty6 VC linux

     # Run xdm in runlevel 5
     # xdm is now a separate service
     x:5:respawn:/etc/X11/prefdm -nodaemon
     1:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty1
     2:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty2
     3:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty3
     4:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty4
     5:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty5
     6:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty6

To change to the SIPB behavior, with terminal logins enabled, replace
that section with:

     # Run gettys in standard runlevels
     1:2345:respawn:/sbin/getty tty1 VC linux
     2:2345:respawn:/sbin/getty tty2 VC linux
     3:2345:respawn:/sbin/getty tty3 VC linux
     4:2345:respawn:/sbin/getty tty4 VC linux
     5:2345:respawn:/sbin/getty tty5 VC linux
     6:2345:respawn:/sbin/getty tty6 VC linux

     # Run xdm in runlevel 5
     # xdm is now a separate service
     x:5:respawn:/etc/X11/prefdm -nodaemon





home help back first fref pref prev next nref lref last post