<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Soldat&#039;s log &#187; luks</title>
	<atom:link href="http://blog.chernando.eu/tag/luks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chernando.eu</link>
	<description>Simplemente otro blog personal</description>
	<lastBuildDate>Thu, 22 Jul 2010 20:09:59 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.chernando.eu' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0eb8b53f0c14a196e38f0abba5641993?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Soldat&#039;s log &#187; luks</title>
		<link>http://blog.chernando.eu</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.chernando.eu/osd.xml" title="Soldat&#039;s log" />
	<atom:link rel='hub' href='http://blog.chernando.eu/?pushpress=hub'/>
		<item>
		<title>Cifrando una partición con cryptsetup</title>
		<link>http://blog.chernando.eu/2007/09/17/cifrando-una-particion-con-cryptsetup/</link>
		<comments>http://blog.chernando.eu/2007/09/17/cifrando-una-particion-con-cryptsetup/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 17:50:50 +0000</pubDate>
		<dc:creator>chernando</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[Seguridad]]></category>
		<category><![CDATA[criptografía]]></category>
		<category><![CDATA[cryptsetup]]></category>
		<category><![CDATA[luks]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.chernando.eu/2007/09/17/cifrando-una-particion-con-cryptsetup/</guid>
		<description><![CDATA[Disponemos de un ordenador portátil (en este caso concreto una Kubuntu Gutsy) con una partición destinada a /home que queremos cifrar. Esta solución no es de las más seguras, quedando por tratar temas importantes como el cifrado de swap, controlar la integridad del sistema y el correcto manejo de los ficheros temporales. Los pasos son [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.chernando.eu&blog=827394&post=28&subd=chernando&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Disponemos de un ordenador portátil (en este caso concreto una Kubuntu Gutsy) con una partición destinada a <em>/home</em> que queremos cifrar.</p>
<p>Esta solución no es de las más seguras, quedando por tratar temas importantes como el cifrado de swap, controlar la integridad del sistema y el correcto manejo de los ficheros temporales.</p>
<p>Los pasos son los siguientes:</p>
<ol>
<li>Ciframos la partición física con <a title="a device-mapper crypto target" href="http://www.saout.de/misc/dm-crypt/">crypsetup</a> y <a title="Linux Unified Key Setup" href="http://luks.endorphin.org/">LUKS</a>:
<pre># cryptsetup luksFormat /dev/sda6</pre>
</li>
<li>Mapeamos lógicamente el dispositivo descifrado:
<pre># cryptsetup luksOpen /dev/sda6 home</pre>
</li>
<li>Trabajamos como si fuera una partición normal:
<pre># mkfs.ext3 /dev/mapper/home
# mount -t ext3 /dev/mapper/home /home</pre>
</li>
</ol>
<p>Para realizar el montaje automático de la partición en el arranque es necesario modificar los ficheros <em>/etc/crypttab</em> y <em>/etc/fstab</em>:</p>
<ul>
<li>crypttab:
<pre># &lt;target name&gt; &lt;source device&gt;         &lt;key file&gt;      &lt;options&gt;
home    /dev/sda6       none    luks</pre>
</li>
<li>fstab:
<pre>/dev/mapper/home        /home   ext3    defaults        0       2</pre>
</li>
</ul>
<p>Con la configuración mostrada se pedirá la contraseña en el momento del arranque.</p>
<p>Podéis encontrar ejemplos más interesantes en la documentación de LUKS o simplemente buscando por Google.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chernando.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chernando.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chernando.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chernando.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chernando.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chernando.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chernando.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chernando.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chernando.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chernando.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chernando.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chernando.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.chernando.eu&blog=827394&post=28&subd=chernando&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.chernando.eu/2007/09/17/cifrando-una-particion-con-cryptsetup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/062f1c6b266029372b1705c017069e68?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chernando</media:title>
		</media:content>
	</item>
	</channel>
</rss>