<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1074912189658215675</id><updated>2012-02-16T08:10:02.757-04:30</updated><category term='slackware'/><category term='virtuozzo'/><category term='openvz'/><category term='vmlinuz'/><category term='bzImage'/><category term='kernel'/><title type='text'>"nux" -</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://teonux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1074912189658215675/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://teonux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Teobaldo Rodríguez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1074912189658215675.post-6925243569157208668</id><published>2008-05-15T10:02:00.003-04:30</published><updated>2008-05-15T11:47:55.389-04:30</updated><title type='text'>Vulnerabilidad en entorno gráfico</title><content type='html'>Buenos días.-&lt;br /&gt;&lt;br /&gt;    Hace algunos días me topé con una vulnerabilidad del entorno gráfico, normalmente dejo mi laptop con claves de 16 o mas caracteres alfanuméricos y especiales bien pero bien fumados, acostumbro trabajar en el entorno gráfico por aquello de la lectura de correos y los documentos entre otras aplicaciones que requiere el trabajo bajo el entorno gráfico.&lt;br /&gt;    Gracias a la paranoia de tener el equipo bajo clave, tengo el protector de pantalla que se activa al minuto y se bloquea por contraseña, permitanme decirles que ese bloqueo no funciona, es un "Placebo", debido a que, cualquier usuario puede tumbar el entorno gráfico y arrancarlo nuevamente sin ningún inconveniente con el usuario que usted dejó en ejecución, es decir, usted inicia con root y deja la maquina con el entorno gráfico abierto y con el protector activado y esa maquina está de regalo.&lt;br /&gt;&lt;br /&gt;¿Como hacer para tumbar el entorno gráfico?&lt;br /&gt;Sólo debe pulsar los botones Ctrl+Alt+BackSpace, con eso usted baja el entorno gráfico y luego ejecuta el famoso startx y la maquina está a sus ordenes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1074912189658215675-6925243569157208668?l=teonux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teonux.blogspot.com/feeds/6925243569157208668/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1074912189658215675&amp;postID=6925243569157208668' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1074912189658215675/posts/default/6925243569157208668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1074912189658215675/posts/default/6925243569157208668'/><link rel='alternate' type='text/html' href='http://teonux.blogspot.com/2008/05/vulnerabilidad-en-entorno-grfico.html' title='Vulnerabilidad en entorno gráfico'/><author><name>Teobaldo Rodríguez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1074912189658215675.post-1150370309014513875</id><published>2007-11-27T18:24:00.000-04:00</published><updated>2007-11-28T20:05:16.425-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmlinuz'/><category scheme='http://www.blogger.com/atom/ns#' term='slackware'/><category scheme='http://www.blogger.com/atom/ns#' term='virtuozzo'/><category scheme='http://www.blogger.com/atom/ns#' term='openvz'/><category scheme='http://www.blogger.com/atom/ns#' term='kernel'/><category scheme='http://www.blogger.com/atom/ns#' term='bzImage'/><title type='text'>COMPILAR KERNEL PARA OPENVZ</title><content type='html'>&lt;style type="text/css"&gt;@page { size: 21cm 29.7cm; margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;&lt;/style&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://slackware.com/"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_K-yU7ungRQk/R04AcePkKpI/AAAAAAAAACQ/_zQOI8FGBFE/s320/logo.png" alt="" id="BLOGGER_PHOTO_ID_5138044714031000210" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://es.wikipedia.org/wiki/OpenVZ"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_K-yU7ungRQk/R04AM-PkKoI/AAAAAAAAACI/DhFaQfUIIZ8/s320/190px-OpenVZ-logo.png" alt="" id="BLOGGER_PHOTO_ID_5138044447743027842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Soporte para:&lt;/b&gt; OpenVZ, Virtuozzo, CCISS, SMP. &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Primero que nada es importante destacar que solo lo he logrado realizar con el kernel 2.6.18, debido a que, las versiones superiores muestran multiples errores, es más, encontré un foro donde el gurú de los gurú, el padre del kernel, el Sr Linus Torvalds indicaba que el kernel 2.6.22 o superior eran muy jovenes para el uso de OpenVZ.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Descargar la carpeta con todos los archivos necesarios para la compilación y el parcheado del kernel para OpenVZ.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(0, 0, 0);" align="left"&gt;Descarga aquí.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Descomprime la carpeta en &lt;b&gt;/usr/src/&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Dentro de la carpenta encontraras el archivo correspondiente al kernel (&lt;b&gt;linux-2.6.18.tar.gz&lt;/b&gt;)&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Descomprimelo en &lt;b&gt;/usr/src/&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;tar -xvvzf linux-2.6.18.tar.gz&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Crea link simbólico  &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;ln -s linux-2.6.18 linux &lt;/b&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cd linux&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=""&gt;Ejecuta los siguientes comandos para limpiar cualquier basura.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;make mrproper &amp;amp;&amp;amp; make clean&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=""&gt;Copia el archivo de configuración que te dejé en la carpeta.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cp /usr/src/kernel_2.6.18_TODO/config-2.6.18 /usr/src/linux/.config&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Verifica que se encuentre correctamente en la carpeta linux&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;ls -a&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Copia el archivo &lt;span style=""&gt;patch-ovz028stab049.1-combined en linux/&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cp /usr/src/kernel_2.6.18_TODO/patch-ovz028stab049.1-combined /usr/src/linux/&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Parchear el kernel para OpenVZ&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;patch -p1 &lt; &lt;/b&gt;&lt;b&gt;patch-ovz028stab049.1-combined &lt;/b&gt;&lt;b&gt; &lt;patch-ovz028stab049.1-combined&gt;&lt;/patch-ovz028stab049.1-combined&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=""&gt;Limpiar cualquier basura nuevamente.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;make mrproper &amp;amp;&amp;amp; make clean&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;span style=""&gt;Copia nuevamente el archivo de configuración que te dejé en la carpeta.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cp /usr/src/kernel_2.6.18_TODO/config-2.6.18 /usr/src/linux/.config&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Carga el archivo .config al kernel con el siguiente comando&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;make menuconfig&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;make -j8 bzImage&lt;/b&gt;  # la opcion -j8 se refiere al número de CPU puedes colocar -j2, -j4 según sea el caso.&lt;/p&gt; &lt;p style="background: transparent none repeat scroll 0% 50%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" align="left"&gt;&lt;b&gt;&lt;span style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make -j8 modules&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;make modules_install&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cp System.map /boot/System.map-smp-2.6.18 &amp;amp;&amp;amp; cp .config /boot/config-2.6.18&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Copiando imagen del Kernel&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.18&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;mv /boot/vmlinuz /boot/vmlinuz-old&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;cd /boot/&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;mv config config-old&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;ln -s config-2.6.18 config&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;mv System.map System.map-old&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;ln -s System.map-smp-2.6.18 System.map&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;ln -s vmlinuz-2.6.18 vmlinuz&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Configuramos el LILO para el arranque de nuestro nuevo kernel&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;vi /etc/lilo.conf&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;------&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;image = /boot/vmlinuz-old&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;root = /dev/cciss/c0d0p2&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;label = Linux&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;read-only&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;image = /boot/vmlinuz&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;root = /dev/cciss/c0d0p2&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;label = OpenVZ&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;read-only&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;--------&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Guardar los cambios para que actualice el MBR&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;b&gt;lilo&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" align="left"&gt;Reinicia el servidor y luego seleccionas en el lilo la opción OpenVZ para usar tu nuevo kernel.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1074912189658215675-1150370309014513875?l=teonux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teonux.blogspot.com/feeds/1150370309014513875/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1074912189658215675&amp;postID=1150370309014513875' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1074912189658215675/posts/default/1150370309014513875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1074912189658215675/posts/default/1150370309014513875'/><link rel='alternate' type='text/html' href='http://teonux.blogspot.com/2007/11/compilar-kernel-para-openvz.html' title='COMPILAR KERNEL PARA OPENVZ'/><author><name>Teobaldo Rodríguez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_K-yU7ungRQk/R04AcePkKpI/AAAAAAAAACQ/_zQOI8FGBFE/s72-c/logo.png' height='72' width='72'/><thr:total>2</thr:total></entry></feed>
