public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] which VM do you recommend?
  @ 2013-07-30 12:54 99%     ` Kerin Millar
  0 siblings, 0 replies; 1+ results
From: Kerin Millar @ 2013-07-30 12:54 UTC (permalink / raw
  To: gentoo-user

On 30/07/2013 11:36, Tanstaafl wrote:
> On 2013-07-30 4:11 AM, Randolph Maaßen <r.maassen60@gmail.com> wrote:
>> It needs a couple of kernel modules to work, but emerge will promt to
>> you what it needs.
>
> Side question...
>
> I want to run the vmware tools on my gentoo VM (so the host can safely
> power it down), but it also requires modules.
>
> For security reasons I have never enabled modules on my servers, but...

It doesn't enhance security unless additional measures are taken (see 
below).

>
> Is there a way to do this securely, so that *only* the necessary modules
> could ever be loaded?

You can use gsecurity (which is in hardened-sources). With 
CONFIG_GRKERNSEC_MODSTOP enabled, you will be able to run:

# echo 1 > /proc/sys/kernel/grsecurity/disable_modules

After that, no further modules can be loaded. However, you would also 
need to disable privileged I/O and the ability to write to /dev/kmem, 
both of which grsecurity also facilitates.

--Kerin


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-07-30  6:45     [gentoo-user] which VM do you recommend? Helmut Jarausch
2013-07-30  8:11     ` Randolph Maaßen
2013-07-30 10:36       ` Tanstaafl
2013-07-30 12:54 99%     ` Kerin Millar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox