No you didn't misunderstand my question. Alt-SysRq-x via ssh doesn't
work, and that's what I was wondering about. :)
> Not that I know of, but I could be wrong about that.
> So if you really need Alt-SysRq over a network connection (or even
> a serial console connection)...
> A few months ago I cooked up a patch so that "echo {magickey}"
> mimics SysRq via proc/sysctl. Patch against 2.4.18 is here:
> http://www.osdl.org/archive/rddunlap/patches/sys-magic.dif
> Usage is: echo {key} > /proc/sys/kernel/magickey
I'm curious: can anyone logged on do this? With the physical Alt-SysRq-x
people have to actually go into the server room, up to the server,
connect a keyboard, and do their mumbo-jumbo. With this anybody can say,
unmount all filesystems, right?
:(
But thanks, anyway. I'm thinking about whether or not I should do this
(and just restrict logins to root, or something like that).
--> Jijo
-- Federico Sevilla III : <http://jijo.free.net.ph/> Network Administrator : The Leather Collection, Inc. GnuPG Key ID : 0x93B746BE - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/