all grsec logs go to console

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

all grsec logs go to console

Postby nogownik » Mon Mar 03, 2003 7:00 am

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
nogownik
 
Posts: 3
Joined: Mon Mar 03, 2003 6:57 am

Postby devillinux » Mon Mar 03, 2003 10:20 am

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
devillinux
 
Posts: 30
Joined: Tue Dec 24, 2002 6:55 pm

Postby nogownik » Tue Mar 04, 2003 5:06 am

Thanks much :)
But I need to set -c 1. with -c 2 I had still logs on console.
Thanks again
nogownik
 
Posts: 3
Joined: Mon Mar 03, 2003 6:57 am


Return to grsecurity support

cron