public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kerin Millar <kerframil@fastmail.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] which VM do you recommend?
Date: Tue, 30 Jul 2013 13:54:03 +0100	[thread overview]
Message-ID: <51F7B76B.90504@fastmail.co.uk> (raw)
In-Reply-To: <51F79749.6030201@libertytrek.org>

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


  parent reply	other threads:[~2013-07-30 12:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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  9:20   ` Helmut Jarausch
2013-07-30  9:49     ` Randolph Maaßen
2013-07-30 10:36   ` Tanstaafl
2013-07-30 12:42     ` Alan McKinnon
2013-07-30 12:54     ` Kerin Millar [this message]
2013-07-31  0:30     ` Walter Dnes
2013-07-31 11:40       ` Tanstaafl
2013-07-31 12:30         ` William Kenworthy
2013-08-01  1:40         ` Walter Dnes
2013-08-01  4:10           ` Walter Dnes
2013-07-30  8:20 ` Alan McKinnon
2013-07-30  9:28   ` Helmut Jarausch
2013-07-30  9:49     ` Alan McKinnon
2013-08-01 11:07 ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F7B76B.90504@fastmail.co.uk \
    --to=kerframil@fastmail.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox