Re: [Patch] TIOCCONS security

From: Christoph Hellwig
Date: Wed Aug 25 2004 - 10:17:01 EST


On Wed, Aug 25, 2004 at 05:11:06PM +0200, Olaf Dabrunz wrote:
> Hi,
>
> the ioctl TIOCCONS allows any user to redirect console output to another
> tty. This allows anyone to suppress messages to the console at will.
>
> AFAIK nowadays not many programs write to /dev/console, except for start
> scripts and the kernel (printk() above console log level).
>
> Still, I believe that administrators and operators would not like any
> user to be able to hijack messages that were written to the console.
>
> The only user of TIOCCONS that I am aware of is bootlogd/blogd, which
> runs as root. Please comment if there are other users.

Oh, common. Do your basic research - this has been rejected a few times
and there have been better proposals. Just use goggle a little bit.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/