Page 1 of 1

all grsec logs go to console

PostPosted: Mon Mar 03, 2003 7:00 am
by nogownik
I have a problem with rgsec logs. All logs that grsec generates go to console even when I'm not root.
How to (and where?) configure grsec to put logs only to specified file (or to syslog)?
Thanks
marek

PostPosted: Mon Mar 03, 2003 10:20 am
by devillinux
make sure klogd is called with the parameter "-c 2" .

e.g. /sbin/klogd -c 2

In most distributions this is defined as a basic config variable.

What does it?
man klogd

PostPosted: Tue Mar 04, 2003 5:06 am
by nogownik
Thanks much :)
But I need to set -c 1. with -c 2 I had still logs on console.
Thanks again