[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't Keep Kernel Log Messages From Console



On Mon, Jul 28, 2003, Brian White wrote:
> I've been trying to stop kernel log messages (generally from iptables)
> from going to the console, and thus making the console unusable for login.
> I've tried different things, but they just keep popping up.
> 
> I have "iptables" lines like:
> 
>   iptables -A WATCH -m limit -j LOG --log-level warn --log-prefix ACCEPT-
> 
> and those message always appear on the console -- nothing else; just these
> messages.  I've attached the "syslog.conf" file for more information.  Any
> help is appreciated!  Thanks!

One way is to add `kernel.printk = 1 4 1 7` to /etc/sysctl.conf.

Michael



Reply to: