Messages in this thread Patch in this message | | | Date | Sun, 12 Mar 2000 17:01:48 -0500 (EST) | From | Adam <> | Subject | sysreq.txt update |
| |
Here's a patch to sysrq.txt. It is against 2.3.51
The author's email address at end of original document does not seems to be valid. So I took it out of cc:
Comments?
---------------------------------------------------------------------------- --- Documentation/sysrq.txt-backup Sun Mar 12 16:26:58 2000 +++ Documentation/sysrq.txt Sun Mar 12 16:52:17 2000 @@ -1,6 +1,7 @@ + MAGIC SYSRQ KEY DOCUMENTATION v1.2 ------------------------------------ - [Sat May 16 01:09:21 EDT 1998] + [Sun Mar 12 16:45:46 EST 2000] * What is the magic SysRQ key? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11,7 +12,10 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You need to say "yes" to 'Magic SysRq key (CONFIG_MAGIC_SYSRQ)' when configuring the kernel. This option is only available in 2.1.x or later -kernels. +kernels. Once you boot the new kernel, you need to enable it manually +using following command: + + echo "1" > /proc/sys/kernel/sysrq * How do I use the magic SysRQ key? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -28,7 +32,8 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'r' - Turns off keyboard raw mode and sets it to XLATE. -'k' - Kills all programs on the current virtual console. +'k' - Secure Access Key (SAK) + Kills all programs on the current virtual console. 'b' - Will immediately reboot the system without syncing or unmounting your disks. @@ -58,12 +63,21 @@ 'l' - Send a SIGKILL to all processes, INCLUDING init. (Your system will be non-functional after this.) +'h' - Will display help. ( actually any other key than those listed + above will display help. but 'h'elp is easy to remember :-) + * Okay, so what can I use them for? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Well, un'R'aw is very handy when your X server or a svgalib program crashes. -sa'K' (system attention key) is useful when you want to exit a program -that will not let you switch consoles. (For example, X or a svgalib program.) +sa'K' (Secure Access Key) is usefull when you want to be sure there are no +trojan program is running at console and which could grab your password +when you would try to login. It will kill all programs on given console +and thus letting you make sure that the login prompt you see is actually +the one from init, not some trojan program. + It seems other find it usefull as (System Attention Key) which is +useful when you want to exit a program that will not let you switch consoles. +(For example, X or a svgalib program.) re'B'oot is good when you're unable to shut down. But you should also 'S'ync and 'U'mount first. @@ -111,3 +125,8 @@ respond as soon as possible. If that email address does not work, use myrdraal@jackalz.dyn.ml.org. -Myrdraal + +* Credits +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Written by Mydraal <myrdraal@jackalz.dyn.ml.org> +Updated by Adam Sulmicki <adam@cfar.umd.edu ----------------------------------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |