In Linux, before a window manager is running, if I hit the Windows key from a console (or alt+F12), I can see kernel messages. I would like to disable the kernel messages from displaying at all since sensitive information could be displayed even before a user is authenticated on the system.
Where do I make this change,
/etc/inittab, or some other file?
I did a grep for 12 in
/etc and see
/etc/rc.conf (I'm on gentoo) and the number of ttys allocated is 12. I am changing this to the number I actually have assigned
gettys which is 6, hoping that will disable the kernel output since there should not be anything on that tty. It is interesting though why the kernel output is just on
tty12 and not 7 - 12.