public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "JosA MarAa Alonso (nimiux)" <nimiux@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/es/hardened/selinux: hb-using-changes.xml
Date: Tue,  9 Jul 2013 09:09:34 +0000 (UTC)	[thread overview]
Message-ID: <20130709090934.248252171C@flycatcher.gentoo.org> (raw)

nimiux      13/07/09 09:09:34

  Modified:             hb-using-changes.xml
  Log:
  Add information about mcstransd

Revision  Changes    Path
1.13                 xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml?r1=1.12&r2=1.13

Index: hb-using-changes.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- hb-using-changes.xml	9 Jul 2013 08:59:05 -0000	1.12
+++ hb-using-changes.xml	9 Jul 2013 09:09:34 -0000	1.13
@@ -4,10 +4,10 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/3.0 -->
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml,v 1.12 2013/07/09 08:59:05 nimiux Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/es/hardened/selinux/hb-using-changes.xml,v 1.13 2013/07/09 09:09:34 nimiux Exp $ -->
 
 <sections>
-<version>12</version>
+<version>13</version>
 <date>2013-07-07</date>
 
 <section>
@@ -292,13 +292,67 @@
 <section>
 <title>Vista rápida de los cambios para usuarios de instalaciones estables</title>
 <subsection>
-<title>Ninguno</title>
+<title>07/07/2013 - Presentar el soporte para mcstrans</title>
 <body>
 
 <p>
-Actualmente no hay diferencias para ~arch únicamente
+Cuando la directriz SELinux está habilitada para MLS (MCS o MLS),
+entonces tenemos la opción de gestionar las categorías. Las
+categorías nos permiten "etiquetar" recursos y asegurarnos de que
+solo los procesos que tienen el conjunto categoría asignado a
+ellos, pueden leer o manipular los recursos.
 </p>
 
+<p>
+Para SELinux, las categorías son números que comienzan por <c>c0</c>
+(categoría cero) hasta el máximo que se utilice en la directriz:
+</p>
+
+<pre caption="Comprobar el número máximo de categorías">
+$ <i>seinfo | grep Categories</i>
+  Sensitivities:      1   Categories:       1024
+</pre>
+
+<p>
+Sin embargo, para la mayoría de los adminstradores, esto no es
+muy eficiente. Para dar soporte a formatos más legibles por los
+humanos. SELinux ofrece soporte a traducciones de categorías
+(e incluso a traducciones sensibles). Dentro de un fichero
+de configuración (<path>setrans.conf</path> en el directorio
+principal de configuración, como <path>/etc/selinux/mcs</path>)
+los administradores pueden introducir conjuntos comunes sensibles
+y rangos. La herramienta <c>chcat</c> se puede utilizar entonces
+para listar éstos:
+</p>
+
+<pre caption="Listar las traducciones de los rangos de sensibilidad">
+# <i>chcat -L</i>
+s0                             SystemLow
+s0-s0:c0.c1023                 SystemLow-SystemHigh
+s0:c0.c1023                    SystemHigh
+</pre>
+
+<p>
+Par habilitar estas traducciones, cree el fichero de traducción
+apropiado (del cual puede encontrar numerosos ejemplos en
+<path>/usr/share/doc/policycoreutils-*/mcstrans</path>)
+y a continuación arranque el servicio<c>mcstransd</c>.
+</p>
+
+<pre caption="Arrancar el servicio mcstransd">
+# <i>rc-service mcstransd start</i>
+</pre>
+
+<p>
+Eso es todo, si ahora miramos a los contextos, veremos los
+rangos traducidos.
+</p>
+
+<pre caption="Listar contextos para ver los rangos traducidos">
+# <i>ls -lZ seusers</i>
+-rw-r--r--. root root system_u:object_r:selinux_config_t:SystemLow seusers
+</pre>
+
 </body>
 </subsection>
 </section>





             reply	other threads:[~2013-07-09 23:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09  9:09 JosA MarAa Alonso (nimiux) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-07-09  9:18 [gentoo-commits] gentoo commit in xml/htdocs/proj/es/hardened/selinux: hb-using-changes.xml JosA MarAa Alonso (nimiux)
2013-04-22 10:46 JosA MarAa Alonso (nimiux)
2013-04-07 12:31 JosA MarAa Alonso (nimiux)
2013-03-11 10:38 JosA MarAa Alonso (nimiux)
2012-12-09 22:57 JosA MarAa Alonso (nimiux)
2012-11-09 17:53 JosA MarAa Alonso (nimiux)
2012-08-18 11:37 JosA MarAa Alonso (nimiux)
2012-06-28 13:42 JosA MarAa Alonso (nimiux)
2012-06-25 15:33 JosA MarAa Alonso (nimiux)

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=20130709090934.248252171C@flycatcher.gentoo.org \
    --to=nimiux@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@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