MAN page from Old RedHat 5.X setconsole-1.0-4.noarch.rpm
SETCONSOLE
Section: Maintenance Commands (8)
Updated: Fri Mar 7 1997
Index NAME
setconsole - sets the systems console to local video or serial console
SYNOPSIS
setconsole <video|serial|ttya|ttyb|cua0|cua1|ttyS0|ttyS1>
DESCRIPTION
setconsole sets up
/etc/inittab,
/dev/systty, and
/dev/console for a new console. The console may be either thelocal terminal (directly attached to the system via a video card) ora serial console.
OPTIONS
- video
- Use the local video card for the console.
- serial
- Use the PROMs console (determined via /proc/openprom) as the systemconsole.
- ttya cua0 ttyS0
- Use the first serial device. The speed is set to the default seed forttya as set in the PROM.
- ttyb cua1 ttyS1
- Use the first serial device. The speed is set to the default seed forttya as set in the PROM.
FILES
- /dev/openprom
- System interface to boot PROM.
/dev/systty /dev/consolePoint to the device used for the system console.
- /etc/inittab
- Controls where gettys are run on the system.
- /etc/securetty
- If this file exists and a serial terminal is being made the console, thename of the serial terminal is appended to this file (if necessary) to allowroot logins on the new console.
SEE ALSO
init(8),
inittab(5),
getty(8)
BUGS
There are probably many -- this is some pretty ugly
/bin/shcode. Switching from one serial console to another will probablyresult in Switching from video to serial and back a corrupt
/etc/inittab. While
/etc/securetty is correctly updatedwhen switching to a serial console, the serial device entry is notremoved when switching back to a physical terminal (in case the userhand edited the file) and the virtual terminal devices are not addedinto the file. again should work fine however. Patches are very welcome(as is a complete rewrite).
AUTHOR
Erik Troan <ewtAATTredhat.com>
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- FILES
- SEE ALSO
- BUGS
- AUTHOR
This document was created byman2html,using the manual pages.