[3477] in SIPB_Linux_Development

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

gettys

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

Message-Id: <200105091705.NAA03305@multics.mit.edu>
To: linux-dev@MIT.EDU
cc: fyfer@MIT.EDU
Date: Wed, 09 May 2001 13:05:59 -0400
From: Liana Lareau <fyfer@MIT.EDU>

Here's what I want to send to aurora for the documention. If it's
confusing or I mangled terminology (probably did), let me know soon
before I send it to her. (Also, I think you just need alt-F# if you're
not starting from the X login, but I'm not sure that's always true and
ctrl-alt-F# certainly works.)

   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# where F1-F6 are text terminals, and F7 returns
to the X login. 

The following lines in /etc/inittab generate the ttys in the SIPB 
version:

       # 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

To revert to the default IS linux behavior (with terminal logins disabled),
comment out the above lines. Then add the following lines after
       x:5:respawn:/etc/X11/prefdm -nodaemon
in the next section:

       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

Similarly, to change from the IS behavior to the SIPB behavior, uncomment
the lines like
       1:2345:respawn:/sbin/getty tty1 VC linux
and remove or comment out the lines like
       1:2345:once:echo "Type CTRL-ALT-F7 to log in." > /dev/tty1





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