[lug] console messages

Kevin Fenzi kevin at scrye.com
Mon Jun 9 14:33:57 MDT 2003

>>>>> "George" == George Sexton <gsexton at mhsoftware.com> writes:

George> How do you disable console messages?  I.E. if iptables is
George> logging stuff how do disable those messages so that my
George> interactive console is not filled with reject messages.

The problem here is the 'klogd' daemon. Basically it sits and listens
for kernel messages, and then it passes them on to the console or the
syslogd to log to a file. 

Basically you need to change the -c parameter to not have it log to
the console. 

On RedHat/KRUD systems you can edit /etc/sysconfig/syslog and add a
'-c 4' or the like to the klogd options and then restart syslogd. 

George> I tried "mesg n" but that didn't seem to help.

That just disallows other users to 'write' to your terminal. 

George> George Sexton MH Software, Inc.  Voice: 303 438 9585
George> http://www.mhsoftware.com


More information about the LUG mailing list