Re: sysrq is ON by default [Re: Magic sys-rq key - how ?]

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Fri Apr 21 2000 - 07:05:31 EST


Keith Owens wrote:
>
> On Fri, 21 Apr 2000 07:17:45 -0400,
> Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
> >David Ford wrote:
> >> I just wanted to clear the air here. The magic key is definitely enabled by
> >> default.
> >
> >Funny, when I boot it says "Disabling Magic SysRq"
>
> Define "boot" ;)
> Compile with CONFIG_MAGIC_SYSRQ, sysrq_enabled = 1.
> Initial boot - sysrq is active, including "init=/bin/sh".
> Run init scripts, they may 'echo "0" > /proc/sys/kernel/sysrq' and
> disable sysrq.
>
> So sysrq is active until some code (such as init script) disables it.

I agree but the point is the air is not clear at all, and one cannot
assume that the magic sysrq key is enabled by default.

For higher security levels (for distros which have security levels
anyway), Magic SysRq, Ctrl-Alt-Del and similar things should be
disabled.

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

- 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/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:18 EST