Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: transferring contents of /etc/conf.d to the config files
Date: Mon, 10 Oct 2011 18:46:32
Message-Id: 20111010184517.GB2844@solfire
In Reply to: [gentoo-user] Re: transferring contents of /etc/conf.d to the config files by Nikos Chantziaras
1 Nikos Chantziaras <realnc@×××××.de> [11-10-10 19:52]:
2 > On 10/10/2011 08:33 PM, meino.cramer@×××.de wrote:
3 > >Hi,
4 > >
5 > >I have read several docs to figure out this...all docs do changes
6 > >in /etc/conf.d but I found no hint how to transfer that settings
7 > >to the "real" configuration files of the according programs.
8 >
9 > These *are* real configuration files and you don't need to transfer
10 > anything.
11 >
12 >
13
14 The reason I thought, that those settings in /etc/conf.d is due
15 to a warning of the rkhunter tool:
16
17 [03:23:21] Performing system configuration file checks
18 [03:23:21] Info: Starting test name 'system_configs'
19 [03:23:21] Checking for SSH configuration file [ Found ]
20 [03:23:21] Info: Found SSH configuration file: /etc/ssh/sshd_config
21 [03:23:21] Info: Rkhunter option ALLOW_SSH_ROOT_USER set to 'no'.
22 [03:23:21] Info: Rkhunter option ALLOW_SSH_PROT_V1 set to '0'.
23 [03:23:21] Checking if SSH root access is allowed [ Warning ]
24 [03:23:21] Warning: The SSH configuration option 'PermitRootLogin' has not been set.
25 The default value may be 'yes', to allow root access.
26 [03:23:21] Checking if SSH protocol v1 is allowed [ Warning ]
27 [03:23:21] Warning: The SSH configuration option 'Protocol' has not been set.
28 The default value may be '2,1', to allow the use of protocol version 1.
29 [03:23:22] Checking for running syslog daemon [ Not found ]
30 [03:23:22] Info: The syslog daemon is not running, but a metalog daemon has been found.
31 [03:23:22] Checking for syslog configuration file [ Not found ]
32
33 Now I see, that it seems to check simply the wrong file.
34
35 I think it would be an idea to patch rkhunter to be more compliant to
36 the setup of the gentoo system ?!
37 From own experience I know that a lot false warnings of such tools
38 dull the sigth on to the real threads...
39
40 Only my two cents, your currency may vary... ;)
41
42 Best regards,
43 mcc

Replies

Subject Author
[gentoo-user] Re: transferring contents of /etc/conf.d to the config files Nikos Chantziaras <realnc@×××××.de>