home *** CD-ROM | disk | FTP | other *** search
/ Caldera Network Desktop 1.0 / caldera-network-desktop-1.0.bin / doc / HOWTO / mini / Consoles < prev    next >
Text File  |  1994-12-25  |  4KB  |  140 lines

  1.                     Linux 1.1.59 Twelve Consoles Example
  2.  
  3. The result of the following is that tty[1-8,12] are, respectively, activated by
  4. <left-alt>F[1-8,12].  I wanted F12 for root and/or something running "top -s"
  5. while F[1-8] run whatever and can simply be extended through F11 without moving
  6. the F12 functions.  It seems to be working fine.  I have had all 12 of them
  7. logged in at once in testing.
  8.  
  9.                                       R. Mark Salathiel  RSalathi@Nyx.cs.du.edu
  10.  
  11. # ls -Al /dev/tty[0-9]*
  12. crw--w--w-   1 root     tty        4,   0 Jul 17 17:29 /dev/tty0
  13. crw--w--w-   1 root     root       4,   1 Dec 25 05:55 /dev/tty1
  14. crw--w--w-   1 root     tty        4,  10 Dec 25 05:23 /dev/tty10    <--added
  15. crw--w--w-   1 root     tty        4,  11 Dec 25 05:53 /dev/tty11    <--added
  16. crw--w--w-   1 root     root       4,  12 Dec 25 20:13 /dev/tty12    <--added
  17. crw--w--w-   1 root     root       4,   2 Dec 25 13:47 /dev/tty2
  18. crw--w--w-   1 root     root       4,   3 Dec 25 05:55 /dev/tty3
  19. crw--w--w-   1 root     root       4,   4 Dec 25 09:39 /dev/tty4
  20. crw--w--w-   1 root     root       4,   5 Dec 25 05:55 /dev/tty5
  21. crw--w--w-   1 root     root       4,   6 Dec 25 05:55 /dev/tty6
  22. crw--w--w-   1 root     root       4,   7 Dec 25 05:55 /dev/tty7
  23. crw--w--w-   1 root     root       4,   8 Dec 25 20:13 /dev/tty8
  24. crw--w--w-   1 root     tty        4,   9 Dec 25 05:23 /dev/tty9
  25.  
  26. /etc/securetty:
  27.  
  28. console
  29. tty1
  30. tty2
  31. tty3
  32. tty4
  33. tty5
  34. tty6
  35. tty7     <--added
  36. tty8     <--added
  37. tty9     <--added
  38. tty10    <--added
  39. tty11    <--added
  40. tty12    <--added
  41. ttyS0
  42. ttyS1
  43. ttyS2
  44. ttyS3
  45. ttyp0
  46. ttyp1
  47. ttyp2
  48. ttyp3
  49.  
  50. /etc/ttys:
  51.  
  52. console tty1
  53. console tty2
  54. console tty3
  55. console tty4
  56. console tty5
  57. console tty6
  58. console tty7     <--added
  59. console tty8     <--added
  60. console tty9     <--added
  61. console tty10    <--added
  62. console tty11    <--added
  63. console tty12    <--added
  64. vt100 ttyp0
  65. vt100 ttyp1
  66. vt100 ttyp2
  67. vt100 ttyp3
  68.  
  69. /etc/inittab:
  70.  
  71. #
  72. # inittab    This file describes how the INIT process should set up
  73. #        the system in a certain run-level.
  74. #
  75. # Version:    @(#)inittab        2.04    17/05/93    MvS
  76. #
  77. # Author:    Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
  78. #
  79. # Default runlevel.
  80. id:5:initdefault:
  81.  
  82. # System initialization (runs when system boots).
  83. si:S:sysinit:/etc/rc.d/rc.S
  84.  
  85. # Script to run when going single user.
  86. su:S:wait:/etc/rc.d/rc.K
  87.  
  88. # Script to run when going multi user.
  89. rc:123456:wait:/etc/rc.d/rc.M
  90.  
  91. # What to do at the "Three Finger Salute".
  92. ca::ctrlaltdel:/sbin/shutdown -t3 -rf now
  93.  
  94. # What to do when power fails (shutdown to single user).
  95. pf::powerfail:/sbin/shutdown -f +5 "THE POWER IS FAILING"
  96.  
  97. # If power is back before shutdown, cancel the running shutdown.
  98. pg:0123456:powerokwait:/sbin/shutdown -c "THE POWER IS BACK"
  99.  
  100. # If power comes back in single user mode, return to multi user mode.
  101. ps:S:powerokwait:/sbin/init 5
  102.  
  103. # The getties in multi user mode on consoles and serial lines.
  104. #
  105. # NOTE NOTE NOTE adjust this to your getty or you will not be
  106. #                able to login !!
  107. #
  108. # Note: for 'agetty' you use linespeed, line.
  109. # for 'getty_ps' you use line, linespeed and also use 'gettydefs'
  110. 1:12345:respawn:/sbin/agetty 38400 tty1
  111. 2:12345:respawn:/sbin/agetty 38400 tty2
  112. 3:45:respawn:/sbin/agetty 38400 tty3
  113. 4:45:respawn:/sbin/agetty 38400 tty4
  114. 5:45:respawn:/sbin/agetty 38400 tty5
  115. 6:45:respawn:/sbin/agetty 38400 tty6       <--changed
  116. 7:45:respawn:/sbin/agetty 38400 tty7       <--added
  117. 8:45:respawn:/sbin/agetty 38400 tty8       <--added
  118. #9:45:respawn:/sbin/agetty 38400 tty9      <--added
  119. #10:45:respawn:/sbin/agetty 38400 tty10    <--added
  120. #11:45:respawn:/sbin/agetty 38400 tty11    <--added
  121. 12:456:respawn:/sbin/agetty 38400 tty12    <--added
  122.  
  123. # Serial lines
  124. #s1:45:respawn:/sbin/agetty 19200 ttyS0
  125. #s2:45:respawn:/sbin/agetty 19200 ttyS1
  126.  
  127. # Dialup lines
  128. #d1:45:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0
  129. #d2:45:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1
  130.  
  131. # Runlevel 6 used to be for an X-window only system, until we discovered
  132. # that it throws init into a loop that keeps your load avg at least 1 all 
  133. # the time.  Thus, there is now one getty opened on tty12.            <--changed
  134. # Hopefully no one will notice. ;^)                                   <--changed
  135. # It might not be bad to have one text console anyway, in case something
  136. # happens to X.
  137. x1:6:wait:/etc/rc.d/rc.6
  138.  
  139. # End of /etc/inittab
  140.