Re: kill -9 <pid of X>

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 12 Aug 1998 14:08:32 +0100 (BST)


> The X server can avoid even kill -9 from a normal user. As it stands,
> it doesn't do that, and I personally think it's a bug in X. But it's
> not a kernel problem - X could make sure (by doing a "setuid(0)" to
> renounce all use privileges) that nobody can kill it but root.

Unfortunately X is about 1Mbyte of code. Running X as root would be teetering
on insanity. Now setuid(0); setuid(somerandomxuid) and I'll listen

However you still have to answer the other questions - such as how do we
implement SAK properly

Alan

-
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.altern.org/andrebalsa/doc/lkml-faq.html