All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carter <jwcart2@tycho.nsa.gov>
To: kim.lawson-jenkins@nrl.navy.mil, selinux@tycho.nsa.gov
Subject: Re: How to restore a policy module
Date: Fri, 21 Mar 2014 09:41:10 -0400	[thread overview]
Message-ID: <532C4176.4060709@tycho.nsa.gov> (raw)
In-Reply-To: <01e101cf4509$9942ae60$cbc80b20$@nrl.navy.mil>

On 03/21/2014 09:29 AM, Kim Lawson-Jenkins wrote:
> In an attempt to lockdown a system I removed the remotelogin policy module
> using semodule -r.  I'm using the targeted policy on RHEL6.  How do I add
> this file back to my current configuration?
>

The pp file for the module will still be in /usr/share/selinux/targeted/.

To reinstall the module do:
semodule -i /usr/share/selinux/remotelogin.pp.bz2


-- 
James Carter <jwcart2@tycho.nsa.gov>
National Security Agency

  parent reply	other threads:[~2014-03-21 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21 13:29 How to restore a policy module Kim Lawson-Jenkins
2014-03-21 13:32 ` Stephen Smalley
2014-03-21 13:35   ` Stephen Smalley
2014-03-21 13:49     ` Kim Lawson-Jenkins
2014-03-21 13:37 ` Ilya Frolov
2014-03-21 13:41 ` James Carter [this message]
2014-03-21 18:34 ` Daniel J Walsh

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=532C4176.4060709@tycho.nsa.gov \
    --to=jwcart2@tycho.nsa.gov \
    --cc=kim.lawson-jenkins@nrl.navy.mil \
    --cc=selinux@tycho.nsa.gov \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.