tag:blogger.com,1999:blog-10339081142007175002024-03-05T10:13:37.662+01:00Dadme un punto de Red y moveré el mundo!! :)Los comentarios son gratis! y además me ayudáis a ver que está bien el post!Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.comBlogger169125tag:blogger.com,1999:blog-1033908114200717500.post-73936762503448886382016-12-15T00:26:00.002+01:002016-12-15T00:26:33.401+01:00Solo vengo a decir....Que el 9 de Febrero, hará 9 años que me hice la escarificación; y como probablemente se me olvide en esa fecha, lo pongo ahora.<br />
<br />
Un saludo a todos :DMadrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-86268510792730729922013-09-26T12:41:00.001+02:002013-09-26T13:45:56.566+02:00Cómo sortear el "bug" de Amazon basado en las AMIs de RHEL 6.4.<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Las AMIs de Amazon para RHEL 6.4, traen consigo un bug, dicho bug pertenece a la aplicación cloud-init y una mala configuración del rc.local.</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><a href="http://www.blogger.com/blogger.g?blogID=1033908114200717500" name="docs-internal-guid-7f9eceeb-59d4-b5fe-69ce-d9904ec3400b"></a><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">El bug se basa en lo siguiente, al iniciar una ami, basada en una que has creado, esta no se inicia correctamente, por que se han añadido en el fichero sshd_config, 2 líneas de forma errónea, estas líneas son:</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Courier New, Courier, monospace;"><span style="color: #3d85c6;">UseDNS no</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Courier New, Courier, monospace;"><span style="color: #3d85c6;">PermitRootLogin without-password</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Que debido al error, aparecen almacenadas de la siguiente forma:</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Courier New, Courier, monospace;"><span style="color: #3d85c6;">UseDNS no</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Courier New, Courier, monospace;"><span style="color: #3d85c6;">PermitRootLogin without-passwordUseDNS no</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Esto provoca que la máquina no se levante correctamente. Si te pasa esto y necesitas acceder a esa máquina, la solución es que conectes el volumen de la máquina que falla, como secundario en otra máquina que si se inicie, una vez conectado el volumen, accedes a él desde la máquina y modifica el sshd_config para eliminar las líneas extrañas.</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">#vi /etc/ssh/sshd_config</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Una vez modificado, vuelves a adjuntar el volumen a tu máquina y se debería conectar correctamente.</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Times New Roman;"><span style="color: #3d85c6; font-size: medium;"><span style="font-family: Arial;"><span style="font-size: 11pt;">Para solucionarlo definitivamente, has de eliminar las siguientes líneas del fichero </span></span><span style="font-family: Arial;"><span style="font-size: 11pt;"><b>/etc/rc.local</b></span></span> <span style="font-family: Arial;"><span style="font-size: 11pt;">:</span></span></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0.18cm; margin-left: 0.64cm; margin-right: 0.64cm;">
<span style="font-family: Courier New;"><span style="color: #3d85c6;">cat <<eol>> /etc/ssh/sshd_config<br />UseDNS no<br />PermitRootLogin without-password</eol></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Times New Roman;"><span style="color: #3d85c6; font-size: medium;"><span style="font-family: Arial;"><span style="font-size: 11pt;">Por supuesto, cuando modifiquéis las líneas del </span></span><span style="font-family: Arial;"><span style="font-size: 11pt;"><b>sshd_config</b></span></span><span style="font-family: Arial;"><span style="font-size: 11pt;">, reiniciar el servicio de ssh.</span></span></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Vamos ahora al segundo bug, levantas tu ami, que sabes que tiene un usuario creado, intentas acceder a ella y te dice que “acceso denegado”, lo intentas con los certificados de Amazon y te deja perfectamente.</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Tu estás completamente seguro, que antes de crear la ami, podías acceder con un usuario que has creado, ¿por qué ahora no puedes acceder?</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Times New Roman;"><span style="color: #3d85c6; font-size: medium;"><span style="font-family: Arial;"><span style="font-size: 11pt;">Fácil y sencillo, simplemente por que el </span></span>“<span style="font-family: Arial;"><span style="font-size: 11pt;"><b>cloud-init”</b></span></span> <span style="font-family: Arial;"><span style="font-size: 11pt;">ha modificado por ti la variable </span></span>“<span style="font-family: Arial;"><span style="font-size: 11pt;"><b>PasswordAuthentication”</b></span></span> <span style="font-family: Arial;"><span style="font-size: 11pt;">y le ha puesto un no.</span></span></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">La solución rápida, entrar con el certificado, cambiar la opción a yes y reiniciar el servicio ssh.</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Times New Roman;"><span style="color: #3d85c6; font-size: medium;"><span style="font-family: Arial;"><span style="font-size: 11pt;">La solución definitiva, editar el fichero </span></span><span style="font-family: Arial;"><span style="font-size: 11pt;"><b>/etc/cloud/cloud.cfg</b></span></span></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Times New Roman;"><span style="color: #3d85c6; font-size: medium;"><span style="font-family: Arial;"><span style="font-size: 11pt;">y cambiar la variable </span></span>“<span style="font-family: Arial;"><span style="font-size: 11pt;"><b>ssh_pwauth:”</b></span></span> <span style="font-family: Arial;"><span style="font-size: 11pt;">a </span></span><span style="font-family: Arial;"><span style="font-size: 11pt;"><b>1</b></span></span><span style="font-family: Arial;"><span style="font-size: 11pt;">, ya que por defecto está a </span></span><span style="font-family: Arial;"><span style="font-size: 11pt;"><b>0</b></span></span><span style="font-family: Arial;"><span style="font-size: 11pt;">.</span></span></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Times New Roman;"><span style="color: #3d85c6; font-size: medium;"><br /><span style="font-family: Arial;"><span style="font-size: 11pt;">Y esto es lo que provoca, que cuando levantas una ami basada en RHEL 6.4 no puedas acceder a ella.</span></span></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: #3d85c6;"><br /></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
</div>
<div style="margin-bottom: 0cm;">
<span style="font-family: Arial;"><span style="color: #3d85c6; font-size: 11pt;">Espero que os sirva chicos!!</span></span></div>
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-39436525883870150532013-06-20T21:10:00.003+02:002013-06-20T21:12:42.743+02:00Premio Liebster, para miiiiiiiiiiiiiiiiiiiiii! :D<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="background-color: black;"><span style="color: black;"><span style="font-family: Arial, sans-serif;"><span style="font-size: small;"><i><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXPdDAiIgT_v-BuuHg2KUC0gSPRHI8GFqAXiycK_VSCKuCHmF-o2Dj7rAMz7E1X0w9Ya-KsOrjlKkTrfuGxjK-99hQuZl3aMckX-JMVhDFq75dyZXJxHrsTU2uPHYFl1H_TNaMiY3ilNsr/s1600/liebster.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXPdDAiIgT_v-BuuHg2KUC0gSPRHI8GFqAXiycK_VSCKuCHmF-o2Dj7rAMz7E1X0w9Ya-KsOrjlKkTrfuGxjK-99hQuZl3aMckX-JMVhDFq75dyZXJxHrsTU2uPHYFl1H_TNaMiY3ilNsr/s1600/liebster.jpg" /></a></span></i></span></span></span></span></div>
<br />
<br />
<br />
<br />
<span style="background-color: black;"><span style="color: black;"><span style="font-family: Arial, sans-serif;"><span style="font-size: small;"><i><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Con
un poco de retraso, pero aquí estamos, como soy un poco egocéntrica
voy a decir...</span></i></span></span></span></span><br />
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Arial, Helvetica, sans-serif;">Siiiiiiiii!!!!
me he llevado un premio por que me lo merezco, de L'oreal!!</span></span></div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Arial, Helvetica, sans-serif;">Es
el premio Liebster, de blogs pequeños para blogs pequeños, ojo,
pequeños pero importantes para el que lo da.</span></span></div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Arial, Helvetica, sans-serif;">A
mi me lo ha dado Akil3s de <a href="http://www.1gbdeinformacion.com/">http://www.1gbdeinformacion.com/</a>,
un blog muy valorado y muy importante para mí, que nos enseña sobre
diferentes temas de la informática, para hacérnosla a todos mas
fácil!! eh!! no solo temas sencillos, tiene para enseñarnos a todos
los niveles! Así que Akil3s, muchas gracias!!! te debo unos zumitos
con morcilla y patatas bravas! Te hace?</span></span></div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Arial, Helvetica, sans-serif;">Bueno,
ahora tengo que responder a unas preguntas, odio responder preguntas
XD</span></span></div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Arial, Helvetica, sans-serif;">Es
que soy muy distraída y contestar preguntas “escritamente” hace
que me concentre mucho.... XD</span></span></div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Arial, Helvetica, sans-serif;">Venga,
voy!!</span></span></div>
<span style="background-color: black;">
</span>
<div style="margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Por
qué decidiste crear un blog y cuándo empezaste?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Pues
lo hice para contar mi superviaje a México...
<a href="http://monimandarina.blogspot.com.es/2007/08/viajando-por-el-mundo.html">http://monimandarina.blogspot.com.es/2007/08/viajando-por-el-mundo.html</a>
al final eso, se quedó en el olvido y se quedó en un blog personal
y esporádico! En el hablaba de moñadas de chicas, sobre mis
piercings, mi escarificación...y poco a poco fui metiendo
cosillas...me acabo de dar cuenta, que en breve va a cumplir 6
añitos! Que fuerte! En resumen, empecé en Agosto de 2007.</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Qué
significado tiene para ti la seguridad?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Mmmm......Como
explicarlo, pues es a lo que me gustaría dedicarme, o por lo menos,
tener la oportunidad y que parte de mi trabajo sea en este ámbito!!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Cuál
ha sido el post de tu blog que más éxito ha tenido? ¿A qué lo
atribuyes?</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><a href="http://monimandarina.blogspot.com.es/2008/02/2-diasy-hoy-hablaremos-de-mi-lanzaaa.html"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">http://monimandarina.blogspot.com.es/2008/02/2-diasy-hoy-hablaremos-de-mi-lanzaaa.html</span></span></span></a></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Un
post que hablaba sobre el piercing industrial que llevaba en la
oreja, 2 días antes de hacerme la escarificación, por qué, pues ni
idea, pero tiene a día de hoy 7750, imagino que habrá 7750 personas
que se quieren hacer un piercing XD</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">La
segunda entrada es mas técnica:</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><a href="http://monimandarina.blogspot.com.es/2011/02/glpi-ocs-inventory-en-windows-vista.html"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">http://monimandarina.blogspot.com.es/2011/02/glpi-ocs-inventory-en-windows-vista.html</span></span></span></a></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Un
total de 6678 :D</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Que
crees que deberíamos cambiar en la educación a
los menores?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Es
complicado, tienen muchas facilidades para acceder a la tecnología
sin ningún conocimiento y sin nadie que les guíe! Deberíamos
acercarnos mas a ellos, para contarles (yo la primera) y debería
dejarnos acercarnos para enseñarles. Este tipo de cosas, es “cosa
de 2” :D</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Has
vivido algún hecho importante a través del blog?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Del
blog en sí, no, gente que no he desvirtualizado aún que nos
llevamos siguiendo varios años XD</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Y
a toda la gente que conozco del entorno de la seguridad, ha sido mas
por twitter.</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Y
sacando mi vena gamer, que una persona me diera las gracias por
escribir una guía sobre Arthas HC!!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿De
dónde te nace la inspiración para escribir y continuar con el blog?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Especialmente
escribo chuletas, de cosas que me cuesta encontrar y que además
están en inglés, intento explicarlo lo mejor posible para que otra
persona con el mismo problema, pueda serle útil, también me pongo
chuletas para mí XD aunque reconozco que a veces olvido que he
escrito sobre algún tema y cuando me encuentro a mi misma, me hace
gracia :D</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Qué
has aprendido a nivel personal o profesional en el último año?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Tantas
cosas que no puedo ni contarlas, así que, respuesta corta!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Cuál
es tu frase célebre favorita?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Perdona??!!
(dicho con tonillo)</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Es
broma, esta es mía XD</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Frase
célebre que digo mucho es: “lo cortés no quita lo valiente”,
jajajaja, es la mejor frase.</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Qué
consejo darías a las personas que empiezan en esto de la seguridad?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Que
sigan, que a veces es complicado, son muchas cosas, pero que se
apoyen en la gente que tienen cerca, por que seguro que les van a
contar algo que les va a inspirar a seguir.</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: magenta;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><b><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Casi
todos los que tenemos un blog, escribimos sobre lo que realmente nos
gusta o motiva, ¿Cómo le explicarías a alguien la importancia de
la vocación por algo, de perseguir los sueños…?</span></b></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Lo
bien que sienta cuando ves que llegas a la gente, o simplemente, la
sensación que tiene tu cuerpo cuando te mencionan un tema en
concreto, solo por eso, merece la pena seguir.</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<br /></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<br /></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Pues
ale, se acabaron las preguntas, jope...que tostón!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Nuevamente
darle las gracias a Akil3s por este supermegapremio!! si me haces
algo bonito lo imprimo y lo cuelgo, cual marco XD</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">y....redoble
de tambores.....</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Mis
nominados son........trrrrrrrrrrrrrrrrrrrrrr....</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;"><a href="http://systemadmin.es/">http://systemadmin.es/</a>
de </span></span></span><a href="https://twitter.com/jordi_prats" target="_blank"><strike><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">@</span></span></span></strike><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">jordi_prats</span></span></span></a></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Un
blog para administradores de sistemas, que me ha salvado el pellejo
varias veces con Nagios y CentOS.</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Se
que no me conoces, pero te leo XD y ahora te sigo!! como molo! :D</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Y
un blog, que no tiene nada que ver con la informática, pero que me
gusta mucho...aunque ahora lo tienen abandonado XD pero te voy a dar
el premio por todos los años que me has dado:</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;"><a href="http://bloglobosofia.blogspot.com.es/">http://bloglobosofia.blogspot.com.es/</a>
de </span></span></span><a href="https://twitter.com/dreamore85" target="_blank"><strike><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">@</span></span></span></strike><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">dreamore85</span></span></span></a></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Ya
vas a tener que hacer un post! Te estoy obligando!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Voy
a hacer 2 rondas de preguntas, que @dreamore85 no es del entorno :D,
la primera ronda para </span><strike><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">@</span></strike><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">jordi_prats:</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: #9fc5e8;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Por
qué decidiste crear un blog y cuándo empezaste?<br />¿Qué
significado tiene para ti los sistemas?<br />¿Cuál ha sido el post de
tu blog que más éxito ha tenido? ¿A qué lo atribuyes?<br />¿Que
crees que deberíamos cambiar en la educación a
los menores?<br />¿Has vivido algún hecho importante a través del
blog?<br />¿De dónde te nace la inspiración para escribir y
continuar con el blog?<br />¿Qué has aprendido a nivel personal o
profesional en el último año?<br />¿Cuál es tu frase célebre
favorita?<br />¿Qué consejo darías a las personas que empiezan en
esto de los sistemas?<br />Casi todos los que tenemos un blog,
escribimos sobre lo que realmente nos gusta o motiva, ¿Cómo le
explicarías a alguien la importancia de la vocación por algo, de
perseguir los sueños…?</span></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: #9fc5e8;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿qué
te gustaría ser de mayor?</span></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">La
segunda ronda de preguntas, para @dreamore85:</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: #9fc5e8;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Por
qué decidiste crear un blog y cuándo empezaste?<br />¿Qué
significado tiene para ti los cerditos?<br />¿Cuál ha sido el post de
tu blog que más éxito ha tenido? ¿A qué lo atribuyes?<br />¿Que
crees que deberíamos cambiar en la educación a
los menores?<br />¿Has vivido algún hecho importante a través del
blog?<br />¿De dónde te nace la inspiración para escribir y
continuar con el blog?<br />¿Qué has aprendido a nivel personal o
profesional en el último año?<br />¿Cuál es tu frase célebre
favorita?<br />¿Qué consejo darías a las personas que empiezan en
esto de los blogs?<br />Casi todos los que tenemos un blog, escribimos
sobre lo que realmente nos gusta o motiva, ¿Cómo le explicarías a
alguien la importancia de la vocación por algo, de perseguir los
sueños…?</span></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="color: #9fc5e8;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">¿Qué
te gustaría ser de mayor?</span></span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Pues
ya he terminado, joer...que post mas tocho!!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Pues
nada coleguis!! os dejo! Espero no haberos aburrido mucho!!</span></span></span></span></div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><br /></span>
</div>
<span style="background-color: black;">
</span>
<div style="line-height: 0.45cm; margin-bottom: 0cm;">
<span style="background-color: black;"><span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><span style="font-size: small;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto auto;">Un
saludo a todos!!</span></span></span></span></div>
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com1tag:blogger.com,1999:blog-1033908114200717500.post-77969776410961500672013-05-28T10:57:00.000+02:002013-05-30T10:41:16.210+02:00Problemas de bloqueo en Drupal con Load Balancer de Amazon<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">La versión 7 de Drupal, trae como característica el bloqueo de ataques de fuerza bruta, es decir, cuando una IP falla el login, Drupal mete la IP en la tabla ‘flood’ de MySQL; cuando se llega a X intentos, Drupal bloquea el acceso a dicha IP y no podrá volver a hacer login en X tiempo (todo esto es configurable en settings.php).</span></div>
<span style="color: white;"><b id="docs-internal-guid-626d8a84-ea56-c372-3457-f8a97bd6e054" style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Dicha característica está muy bien cuando el frontal web está de cara al público y no se encuentra tras un Proxy o Balanceador, en este último caso, dicha “feature” se puede convertir en un infierno, ya que los intentos fallidos para Drupal, se muestran con la IP interna del Proxy o Balanceador y esto puede provocar, que si hay un bloqueo por intentos fallidos, absolutamente tooooodos los usuarios de Drupal, estén donde estén, sean bloqueados y no puedan hacer login en la aplicación.</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">La ñapa de esto, es hacer un ‘TRUNCATE’ de la tabla flood, al vaciarla, se volverá a acceder.</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">La solución a esto, es utilizar la variable X-FORWARDED-FOR para que Drupal vea exactamente la ip origen del cliente y bloquee correctamente las IPs (toda la info de esta variable se encuentra en el settings.php).</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ahora demos una vuelta de tuerca más, si la web está tras un Proxy o un Balanceador, tendremos todas sus IPs y será fácil de configurar, pero que pasa, si nuestro Drupal está en una instancia tras un Load Balancer de Amazon.</span></div>
<b style="font-weight: normal;"><br /><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
<br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: red; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Pues que tenemos un problema.</span></div>
<b style="font-weight: normal;"><br /><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
<br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Amazon es muy divertido y bonito para muchas cosas, pero como esas cosas son suyas, hay elementos a los que les cambia la IP como le apetece y cuando le apetece.</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Por otro lado, todos podemos conocer la IP pública de un Balanceador de Amazon, sin embargo, no podemos saber realmente la IP interna de dicho Balanceador, eso si, nos aparecerá en todos los logs de acceso de las aplicaciones que tengamos y en la tabla ‘flood’ de Drupal, también. XD</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Si echáis un vistazo a la configuración de X-FORWARDED-FOR en el settings.php, veréis que nos pide una IP fija, pero no la tenemos.</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Gracias al IRC de </span><span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>#drupal-es </b></span><span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">y a </span><span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>NITEMAN </b></span><span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">en especial que me atendió y me dio muchísima información, pude sacar la solución.</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Esta solución se basa en este link:</span></div>
<b style="font-weight: normal;"><br /><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
<br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<a href="http://www.nonsie.com/blog/12/11/drupal_mollom_and_amazon_web_services_elastic_load_balancer" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">http://www.nonsie.com/blog/12/11/drupal_mollom_and_amazon_web_services_elastic_load_balancer</span></a><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></div>
<b style="font-weight: normal;"><br /><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
<br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Y un poco modificado, hizo que las IPs de origen, fueran realmente las de los clientes, provocando así un bloqueo real de las IPs.</span></div>
<span style="color: white;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: white; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Mi configuración final en el settings.php de Drupal, ha sido la siguiente:</span></div>
<b style="font-weight: normal;"><br /><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
<br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">*/Hay que descomentar esta línea y marcarla como TRUE para que active este modo.</span></div>
<span style="color: magenta;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>$conf['reverse_proxy'] = TRUE;</b></span></div>
<span style="color: magenta;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">/**</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">* Specify every reverse proxy IP address in your environment.</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">* This setting is required if $conf['reverse_proxy'] is TRUE.</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">*/</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Se agregan estas líneas para que Drupal no bloquee todos los accesos, ya que solo verificaba la IP interna del balanceador</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Esta línea captura la IP interna del balanceador.</span></div>
<span style="color: magenta;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>$conf['reverse_proxy_addresses'] = array_map('gethostbyname', array_map('gethostbyaddr', gethostbynamel($_SERVER['REMOTE_ADDR'])));</b></span></div>
<span style="color: magenta;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">/**</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">* Set this value if your proxy server sends the client IP in a header</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">* other than X-Forwarded-For.</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">*/</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Esta línea, cambia la IP interna del balanceador por la IP origen del cliente.</span></div>
<span style="color: magenta;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>$conf['reverse_proxy_header'] = 'HTTP_X_FORWARDED_FOR';</b></span></div>
<span style="color: magenta;"><b style="font-weight: normal;"><br /><span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></b>
</span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Información adicional sobre las variables utilizadas:</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Tanto REMOTE_ADDR como HTTP_X_FORWARDED_FOR se ha sacado del acceso a Drupal, en la siguiente ruta</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Informes -> Informe de estado -> PHP ** clikar en "mas información"</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#se abrirá el PHPINFO de Drupal y en Apache Environment, tendremos estas variables.</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#REMOTE_ADDR tendrá que indicarnos la IP interna del Balanceador</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: magenta; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#HTTP_X_FORWARDED_FOR tiene que darnos la IP origen del cliente.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Con estos cambios que hemos realizado, al hacer un login fallido, en la tabla ‘flood’ de Drupal, deberían aparecer las IP origen del cliente.</span><br />
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Espero que os sirva a esos que estáis empezando a implementar Drupal en Amazon con Balanceadores!!</span><br />
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Un saludo a todos.</span><br />
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><b>ACTUALIZACIÓN: </b>Es muy importante, que si utilizáis esto verifiquéis, que el acceso a esta web, solamente se puede hacer a través del balanceador. Si un usuario malintencionado averigua la IP real de la máquina y tiene acceso vía web, puede enviar cabeceras modificadas y hacer cositas con nuestra web.</span><br />
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-13300790547918369072013-05-17T10:37:00.001+02:002013-05-17T10:37:15.288+02:00Configurar Apache como "proxy" de Tomcat.<br />
<b id="docs-internal-guid-755f8fed-b1a0-81e1-b0ff-b534d7de127a" style="font-weight: normal;"></b><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<b id="docs-internal-guid-755f8fed-b1a0-81e1-b0ff-b534d7de127a" style="font-weight: normal;"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Actualmente, cuando instalamos un tomcat, queremos ponerle un apache como “proxy”, el apache recibe las peticiones en el puerto 80 y las redirige a tomcat.</span></b></div>
<b id="docs-internal-guid-755f8fed-b1a0-81e1-b0ff-b534d7de127a" style="font-weight: normal;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Para ello, instalaremos un apache y un tomcat, y haremos sus configuraciones independientes para que funcionen * y como siempre utilizar las guías básicas de bastionado para que sean seguras.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Una vez hecho eso, habilitaremos los siguientes módulos en apache:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">proxy_ajp.load</span></i></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">proxy.conf</span></i></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">proxy.load</span></i></span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Para ello, primero revisaremos que no están ya habilitados.</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En la ruta <span style="color: blue;"><i>/etc/apache2/</i></span> tenemos 2 directorios llamados:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>mods-available</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>mods-enabled</i></span></span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En mods-enabled se encuentran los módulos ya habilitados, si no están los nuestros, iremos al directorio mods-available y los habilitaremos, el comando a utilizar es:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>a2enmod [nombre_módulo]</i></span></span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Cada vez que lo habilitemos, nos pedirá reiniciar el apache para activarlos, por lo que cuando finalicemos con todos los módulos, reiniciaremos el apache.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Una vez reiniciado, verificamos en mods-enabled que están nuestros módulos.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Ahora pasaremos a la configuración de la “conexión” entre apache y tomcat, para ello, simplemente en el directorio <span style="color: blue;"><i>/etc/apache2/sites-available</i></span> crearemos el fichero del proyecto que necesitemos y le añadiremos la siguiente información:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><virtualhost></virtualhost></i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i> ServerName moni.mandarina.com</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i> ProxyPass / ajp://localhost:8009/</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i> ProxyPassReverse / ajp://localhost:8009/</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i> ErrorLog ${APACHE_LOG_DIR}/monimandarina_error.log</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i> LogLevel warn</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i> CustomLog ${APACHE_LOG_DIR}/monimandarina_access.log combined</i></span></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i></i></span></span></div>
</b><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Hemos creado un vhost con la url a la que debe responder el servicio, con las líneas ProxyPass y ProxyPassReverse, le estamos indicando que “dirija” la información a tomcat.</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Haremos un link simbolico desde sites-enabled hacía el vhost que acabamos de crear.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Ahora recargaremos la información del apache</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>#/etc/init.d/apache2 reload</i></span></span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Si todo está OK y tenemos nuestras configuraciones bien hechas, deberían funcionar correctamente las aplicaciones de tomcat sobre el puerto 80 y a través de Apache.</span><br />
<b style="font-weight: normal;"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></b>
<b style="font-weight: normal;"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></b>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">PD: Estoy aprendiendo a usar Apache, es posible que me falte algo en la configuración, pero juraría que no.</span></span>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com2tag:blogger.com,1999:blog-1033908114200717500.post-35714095824162491262013-05-16T11:30:00.000+02:002013-05-16T11:30:11.349+02:00Chuleta: Al reiniciar Mysql se queda pensando...<br />
Tenemos que reiniciar el mysql y se queda "cuajado" (como yo digo), vamos al log, y nos encontramos este "error"/"warning":<br />
<br />
<i><span style="color: blue;">kernel: [23231693.108005] type=1400 audit(1368692432.585:69): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=3703 comm="apparmor_parser"</span></i><br />
<i><span style="color: blue;">init: mysql main process (3707) terminated with status 1</span></i><br />
<i><span style="color: blue;">init: mysql main process ended, respawning</span></i><br />
<i><span style="color: blue;">init: mysql post-start process (3708) terminated with status 1</span></i><br />
<br />
y sueltas un....mecagoentu****madre la que me has liado!<br />
<br />
Que nooo...que no es culpa de MySQL, que es culpa tuya!!<br />
<br />
Revisa el fichero <i style="color: blue;">/etc/mysql/my.cnf </i>y comprueba que el apartado <span style="color: blue;"><i>bind-address</i></span> no tiene ninguna ip extraña.<br />
<br />
Debería tener o<span style="color: blue;"><i> 0.0.0.0, localhost, 127.0.0.1, su ip.</i></span><br />
<br />
Si no es así, pon lo que mas te convenga.<br />
<br />
En caso de que esta, no sea tu solución, revisa otros posts como <a href="https://www.google.es/search?q=init%3A+mysql+post-start+process+(3708)+terminated+with+status+1&aq=f&oq=init%3A+mysql+post-start+process+(3708)+terminated+with+status+1&aqs=chrome.0.57j58.257j0&sourceid=chrome&ie=UTF-8">https://www.google.es/search?q=init%3A+mysql+post-start+process+(3708)+terminated+with+status+1&aq=f&oq=init%3A+mysql+post-start+process+(3708)+terminated+with+status+1&aqs=chrome.0.57j58.257j0&sourceid=chrome&ie=UTF-8</a><br />
<div>
<br /></div>
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-26304613093771348262013-05-15T09:00:00.000+02:002013-05-15T09:00:15.959+02:00Configurar Sudo con LDAP y PHPLdapAdmin.<span id="docs-internal-guid-794d6013-a231-eabb-9cde-865ebc9bb0a5"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Necesitamos permitir, que los usuarios que accedan por LDAP a los clientes, puedan hacer sudo su en las máquinas.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Para ello, hay 2 formas, o agregamos el usuario al fichero /etc/sudoers de cada máquina cliente o lo hacemos a través del LDAP.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Nosotros lo haremos vía LDAP para tenerlo centralizado.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En primer lugar, accederemos al servidor de LDAP y crearemos el “schema” SUDOers para LDAP en la siguiente ruta:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">cd /etc/openldap/schema/</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#vi sudo.schema</span></i></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Agregaremos la siguiente información:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">######################################################</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">###Se crea sudo.schema para que sea el LDAP el que ###</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">###permita hacer sudo en los hosts del LDAP. ###</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">######################################################</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.1</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoUser'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'User(s) who may run sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SUBSTR caseExactIA5SubstringsMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.2</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoHost'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'Host(s) who may run sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SUBSTR caseExactIA5SubstringsMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.3</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoCommand'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'Command(s) to be executed by sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.4</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoRunAs'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'User(s) impersonated by sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.5</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoOption'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'Options(s) followed by sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.6</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoRunAsUser'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'User(s) impersonated by sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.7</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoRunAsGroup'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'Group(s) impersonated by sudo'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY caseExactIA5Match</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.8</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoNotBefore'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'Start of time interval for which the entry is valid'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY generalizedTimeMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> ORDERING generalizedTimeOrderingMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributetype ( 1.3.6.1.4.1.15953.9.1.9</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">NAME 'sudoNotAfter'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'End of time interval for which the entry is valid'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY generalizedTimeMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> ORDERING generalizedTimeOrderingMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">attributeTypes ( 1.3.6.1.4.1.15953.9.1.10</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> NAME 'sudoOrder'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'an integer to order the sudoRole entries'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> EQUALITY integerMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> ORDERING integerOrderingMatch</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )</span></i></span></div>
<i style="font-weight: normal;"><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">objectclass ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top AUXILIARY</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> DESC 'Sudoer Entries'</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> MUST ( cn )</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoRunAsUser $ sudoRunAsGroup $ sudoOption $ sudoNotBefore $ sudoNotAfter $ sudoOrder $ description )</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"> )</span></i></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Esta información define el esquema del rol SUDOers, si comenzamos desde arriba, veremos todos los atributos de los que disponemos, las últimas líneas, pertenecen al Objeto SudoRole, si os fijáis he puesto AUXILIARY, si buscáis mas info sobre este esquema, encontraréis que pone ESTRUCTURAL, con ambos funciona, pero si usáis PHPLdapAdmin, os recomiendo que pongáis AUXILIARY, ya que si no, hay posibilidades de que el ROL no aparezca para elegirlo, pero si aparecerá en la estructura.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Una vez guardado el fichero, le indicaremos al LDAP su existencia:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#vi /etc/openldap/slapd.conf</span></i></span></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></i>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">include /etc/openldap/schema/sudo.schema</span></i></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Reiniciamos el servicio de LDAP:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>#/etc/init.d/ldap restart</i></span></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Aquí es donde si no tenéis PHPLdapAdmin, tendréis que pasaros a otra guía, ya sabéis que no me gusta subir cosas que no he probado.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Pero sólo podrán hacer “sudo su” los usuarios que se encuentren en el grupo SUDOers del LDAP.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Para ello, abriremos el PHPLdapAdmin y crearemos la OU “SUDOers”, una vez creado, agregaremos un nuevo ObjectClass, este será SudoRole, que con los cambios realizados anteriormente, debería aparecer.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Al agregarlo, nos obligará a identificar un CN, este CN sería el nombre del grupo, por decirlo de algún modo.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Ahora podremos agregar los atributos que necesitamos:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>sudoCommand</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>sudoHost</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>sudoUser</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>sudoOption</i></span></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En sudoCommand, pondremos ALL para poder ejecutar cualquier comando, se pueden poner comandos específicos o ![comando] para denegar la ejecución de un comando específico.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En sudoHost, podemos poner ALL para cualquier PC o la ip o nombre del host.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En sudoUser pondremos los nombres de los usuarios que puedan acceder.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En sudoOption podemos indicar que o hace falta password al hacer “sudo su” con un NOPASSWD.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Ya tenemos finalizada la configuración del servidor, ahora pasemos a la de los clientes.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">En el cliente, editamos el siguiente fichero:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>#vi /etc/ldap.conf</i></span></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Y agregamos estas líneas al final:</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">sudoers_base ou=SUDOers,dc=dominio,dc=raíz</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#sudoers_debug 2</span></i></span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Con esto, indicamos la ruta de búsqueda de los usuarios que pueden realizar un “sudo su”. La línea de sudoers, la descomentaremos, si tenemos algún problema al realizar el sudo y que nos muestre si la conexión se está realizando correctamente o donde puede estar el fallo.</span></div>
<br />
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">Con esto se finaliza la configuración de Sudo desde LDAP.</span>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-82441657247598786942013-05-14T09:34:00.000+02:002013-05-14T09:35:24.425+02:00Conf. cliente para usar LDAP.<b id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7"></b><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<b id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">***Actualmente esta guía es para toda la versión 5 de CentOS***</span></b></div>
<b id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></b>
<br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Necesitamos configurar nuestros equipos clientes y servidores para que el login se realice vía LDAP, ya disponemos del LDAP, por lo que simplemente realizaremos los siguientes cambios en la configuración de los equipos:</span></span></div>
<span id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7">
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Si es posible, se recomienda instalar estos paquetes, para evitar problemas y tener siempre la versión más actualizada (en caso de que no se pudiera, revisar al final del texto las compatibilidades): </span></span></div>
<b id="docs-internal-guid-5cafffe8-a1f2-d3b3-f745-2407c62a26e7">
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<i><span style="color: blue;"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">#yum install </span><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">openldap openldap-clients nss_ldap</span></span></i></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Modificaremos los siguientes ficheros:</span></div>
<span style="color: blue;"><i><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></i></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#vi /etc/sysconfig/autofs</span></i></span></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></span></i><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<i><span style="color: blue;"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">LDAP_URI=”ldap</span><a href="http://phpldap.bbvaglobalnet.com/" style="text-decoration: none;"><span style="font-family: Arial; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">://</span></a><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">URLoIPdelServidor”</span></span></i></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></span></i><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>SEARCH_BASE=”dc=dominio,dc=raiz” (p.e: “dc=google,dc=com”)</i></span></span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Con esto indicamos la dirección del LDAP y la ruta donde ha de buscar los grupos y usuarios.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Continuamos modificando ficheros: </span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#vi /etc/pam.d/sshd</span></i></span></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></span></i><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">session required pam_mkhomedir.so skel=/etc/skel/ umask=0022</span></i></span></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></span></i><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#vi /etc/pam.d/login</span></i></span></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></span></i><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">session required pam_mkhomedir.so skel=/etc/skel/ umask=0022</span></i></span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Esta modificación en ambos ficheros, permite que al hacer login con un usuario “nuevo”, se genere su home si esta no existe.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Ahora ejecutaremos el siguiente comando, que con la información que le demos, nos configurará automáticamente los ficheros <span style="color: blue;">/etc/ldap.conf</span> y <span style="color: blue;">/etc/openldap/ldap.conf</span>:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>#authconfig-tui</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>- Marcaremos:</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>* Utilizar LDAP</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>* Utilizar contraseña MD5</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>* Utilizar contraseñas ocultas (shadow)</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>* Utilizar Autenticación LDAP</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"><span style="color: blue;"><i> </i></span></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span>- Vamos a Siguiente:</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>* Servidor: ldap://URLoIPdelServidor</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>* DN base: dc=dominio,dc=raíz</i></span></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"> </span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Al finalizar, si revisamos los ficheros /etc/ldap.conf y /etc/openldap/ldap.conf podremos comprobar que se han añadido estas líneas.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Para ir finalizando, agregaremos el servicio nscd al inicio:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">chkconfig --add nscd</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">chkconfig nscd on</span></i></span></div>
<i><span style="color: blue;"><br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></span></i><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;"># chkconfig --list |grep nscd</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">nscd <span class="Apple-tab-span" style="white-space: pre;"> </span>0:desactivado<span class="Apple-tab-span" style="white-space: pre;"> </span>1:desactivado<span class="Apple-tab-span" style="white-space: pre;"> </span>2:activo<span class="Apple-tab-span" style="white-space: pre;"> </span>3:activo<span class="Apple-tab-span" style="white-space: pre;"> </span>4:activo<span class="Apple-tab-span" style="white-space: pre;"> </span>5:activo<span class="Apple-tab-span" style="white-space: pre;"> </span>6:desactivado</span></i></span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Y reiniciaremos los siguientes servicios:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#/etc/init.d/autofs restart</span></i></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#/etc/init.d/nscd restart</span></i></span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Si ahora intentamos logarnos con un usuario del LDAP, deberíamos poder acceder sin problemas.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Puede ser, que en alguna máquina nos muestre el siguiente error “This account is currently not available.”</span><span style="background-color: white; color: #222222; font-family: Arial; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"></span></div>
<div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Esto puede deberse a que en el local de la máquina esté nuestro usuario y esté configurado como /sbin/nologin, para ello, cambiaremos esto por un /bin/bash:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><span style="color: blue;"><i>#usermod -s /bin/bash NombreUsuario </i></span></span></div>
<br /><span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="font-weight: normal; line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Como comentario final, indicar que esto es una guía básica, ya que vosotros deberíais tener el LDAP en modo seguro, eso implica que a los clientes tienes que copiarles los certificados del servidor LDAP e indicarlo en los ficheros /etc/ldap.conf y /etc/openldap/ldap.conf</span></div>
<span style="font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">Sobre esta configuración si que hay 200.000 guías, así que seguidlas, por que yo he juntado diferentes guías para montar estos posts.</span></b>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-567264448647867042013-05-03T14:56:00.002+02:002013-05-03T14:56:42.520+02:00Script para que otros puedan ver tus Snapshots.<b id="docs-internal-guid-6c7d7656-6a76-653a-7fda-7944047ce491" style="font-weight: normal;"></b><br />
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<b id="docs-internal-guid-6c7d7656-6a76-653a-7fda-7944047ce491" style="font-weight: normal;"><br /></b></div>
<b id="docs-internal-guid-6c7d7656-6a76-653a-7fda-7944047ce491" style="font-weight: normal;"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Una de las cosas molonas que tiene Amazon, es que los snapshots que hagas, los puedes compartir, gráficamente haces click derecho sobre el snapshot -> Snapshots permissions y añades el id de la cuenta de Amazon con la que quieres compartir este Snapshot.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Pero........</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">que pasa si tienes un script para que genere los snapshots automáticamente y quieres que se agreguen estos permisos automágicamente.....</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Simplemente añadir estas líneas al script:</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">#Se agregan permisos de otro id de amazon a los 2 últimos snapshots creados.</span></i></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">SNAP_ID=`/opt/api-tools/bin/ec2-describe-snapshots | sort -k5 | (head -5 |tail -1) |awk '{printf $2}'`</span></i></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><i><span style="color: blue;">/opt/api-tools/bin/ec2-modify-snapshot-attribute $SNAP_ID -c --add id-cuenta-amazon</span></i></span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Lo que hace es, describir los snapshots que hay hechos, los ordena por fecha y coge el id del snapshot que se encuentra en la última línea, en mi caso suele haber 5 snapshots (head -5), en el caso de que tengáis mas o menos tendréis que modificar ese 5 por el número que os vaya mejor.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Ese id que ha cogido, lo mete en la variable SNAP_ID, que usamos en la siguiente línea, esto lo que hace es ejecutar el comando para agregar permisos, al id del snapshot correspondiente y da permisos al id de la cuenta de Amazon que queramos.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Si mejoro el script, automatizándolo mas todavía, lo actualizo.</span></div>
<br /><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Un saludo!!</span></div>
<div>
<span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
</b>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-34815031654133070172013-04-23T11:39:00.001+02:002013-04-23T11:39:17.602+02:00Descargar paquetes de Ubuntu no soportados.Oh my Cat!! tengo un ubuntu no soportado que de momento no puedo actualizar pero tengo que instalarle algo y paso de hacerlo completamente manual....que puedo hacer?<br />
<br />
Pues muy sencillo, fácil y para toda la familia, edita el siguiente fichero:<br />
<br />
<span style="color: blue;">vi /etc/apt/sources.list</span><br />
<br />
Añade delante de cada repositorio un # para comentar esas líneas, o bien, bórralas, ahora añade los siguientes repos:<br />
<br />
<br />
<br />
<span style="color: blue;">deb http://old-releases.ubuntu.com/ubuntu/ maverick main</span><br />
<span style="color: blue;">deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main</span><br />
<br />
<span style="color: blue;"><br /></span>
<span style="color: blue;">deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main</span><br />
<span style="color: blue;">deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main</span><br />
<span style="color: blue;"><br /></span>
<br />
<span style="color: blue;">deb http://old-releases.ubuntu.com/ubuntu/ maverick universe</span><br />
<span style="color: blue;">deb-src http://old-releases.ubuntu.com/ubuntu/ maverick universe</span><br />
<span style="color: blue;">deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe</span><br />
<span style="color: blue;">deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe</span><br />
<br />
Después de editarlo, haz un<br />
<br />
<span style="color: blue;">apt-get update</span><br />
<br />
Revisa las líneas y si todo está correcto, instala el paquete que necesites.<br />
<br />
Un saludo a todos.<br />
<br />
PD: Si, lo sé, es un post chorra, pero es que es una chuletilla que necesito!!<br />
<br />
PD2: odio ubuntu XD<br />
<br />
<br />
<br />
<br />
<br />Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-41119833804152390502013-04-10T18:07:00.001+02:002013-04-10T18:07:14.798+02:00Time out en el envío de notificaciones de Nagios o con Centreon.
<br />
<div style="margin-bottom: 0cm;">
Hemos detectado, que las notificaciones
de error o recuperación, no se estaban enviando correctamente.
Revisando el nagios.log que se encuentra en /usr/local/nagios/var/
hemos visto las siguientes líneas y como al final daba un time out.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">[1365591978] EXTERNAL COMMAND:
SEND_CUSTOM_SVC_NOTIFICATION;link_que_sea/;0;nagiosadmin;Prueba de
notificación.
</span></i></div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">[1365591978] SERVICE NOTIFICATION:
“contacto_que_sea”;link_que_sea/;CUSTOM
(OK);service-notify-by-email;HTTP OK: HTTP/1.1 200 OK - 37509 bytes
in 0.522 second response time;nagiosadmin;Prue
</span></i></div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">ba de notificación.
</span></i></div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">[1365592019] Warning: Contact
'contacto_que_sea' service notification command '/usr/bin/printf "%b"
"***** centreon Notification *****\n\nNotification Type:
RECOVERY\n\nService: link_que_sea\nHost:
</span></i></div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">host_que_sea\nAddress:
100.100.100.100\nState: OK\n\nDate/Time: 10-04-2013 Additional Info :
HTTP OK: HTTP/1.1 200 OK - 37509 bytes in 0.522 second response time"
| /bin/mail -s "** RECOVERY alert - link_que_sea/ is OK **"
correo_contacto' <b>timed out after 40 seconds
</b></span></i></div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
He probado a
enviar un mail desde la consola de Linux y funcionaba correctamente,
he probado a ejecutar el mismo comando de la última línea
</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">“ usr/bin/printf
"%b" "***** centreon Notification
*****\n\nNotification Type: RECOVERY\n\nService: link_que_sea\nHost:
</span></i></div>
<div style="margin-bottom: 0cm;">
<i><span style="color: blue;">host_que_sea\nAddress:
100.100.100.100\nState: OK\n\nDate/Time: 10-04-2013 Additional Info :
HTTP OK: HTTP/1.1 200 OK - 37509 bytes in 0.522 second response time"
| /bin/mail -s "** RECOVERY alert - link_que_sea/ is OK **"
correo_contacto”</span></i></div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Y se envía
correctamente, entonces, ¿cuál era el problema?</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Después de
revisar, buscar mas errores y buscar en la red, he encontrado un post
de 2009 que me ha dado la vida y efectivamente ha funcionado.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Voy a explicar
como solucionarlo para Nagios y para Centreon.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
En <b>Nagios</b>,
tendremos que modificar el fichero nagios.cfg, nos iremos a la linea
de
</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
<span style="color: blue;"><i>notification_timeout=30</i></span></div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Y cambiaremos el
30 por un 120, después reiniciaremos Nagios y probablemente nos
vuelva a funcionar correctamente el envío de notificaciones.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
En<b> Centreon</b>, si lo
habéis hecho igual y luego habéis recargado todo desde Nagios
marcando “Move Export Files”, comprobaréis que el fichero ha
vuelto a su origen.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Para que esto no
pase, dentro de <b>“configuration” → Nagios</b>, en el panel
izquierdo, clickaremos sobre <b>“nagios.cfg”</b> y después sobre el
nagios.cfg que nos interese.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Iremos a la
pestaña<b> Log Options</b> y en<b> Notification Timeout,</b> cambiaremos el 30 por
el 120.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
Reiniciamos Nagios
a través de Centreon y con esto tendremos las notificaciones.</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
El foro del año
de la polka que me ha dado la solución es:
</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
<div style="margin-bottom: 0cm;">
<a href="http://forums.meulie.net/viewtopic.php?f=60&t=4324">http://forums.meulie.net/viewtopic.php?f=60&t=4324</a></div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
Si tenéis mas dudas, escribidme, que me gusta!</div>
<div style="margin-bottom: 0cm;">
<br />
</div>
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com2tag:blogger.com,1999:blog-1033908114200717500.post-59637814403653289722013-01-15T14:40:00.001+01:002013-01-15T14:43:13.458+01:00Recuperar la contraseña de Oracle 11g en Linux.<span style="color: #9fc5e8;">Como siempre, libero una de msi chuletillas por si me hiciera falta recuperar o por si le sirve a otra persona.</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">Tengo un Oracle 11g sobre un RHEL 6.3, no tengo la contraseña.</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">Después de seguir varias guías y ver que no lo estaba haciendo bien, hay que tener en cuenta, que en Linux, el propietario de ficheros como Listener.ora, tnsnames.ora, etc... es el usuario oracle, que se genera por defecto durante la instalación.</span><br />
<span style="color: #9fc5e8;"></span><br />
<a name='more'></a><span style="color: #9fc5e8;">Esto impide, que con cualquier usuario o incluso root, tu no puedas generar la contraseña.</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">Para salir del paso, una vez logado como root, haces un su al usuario oracle:</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">#su oracle</span><br />
<span style="color: #9fc5e8;">oracle$</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">Así te conviertes en el usuario de Oracle, ahora te diriges a la siguiente ruta:</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">$cd $ORACLE_HOME/bin</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">*$ORACLE_HOME=A la instalación de Oracle de tu servidor.</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">Y ya comenzamos con la recuperación de la contraseña:</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;">Entramos como usuario sys:</span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;"></span><br />
<span style="color: #9fc5e8;"><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;">$ </span><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;">sqlplus "/ as sysdba"</span></span><br />
<span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;"></span><span style="color: #9fc5e8;"> </span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">Lo comprobamos:</span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;"><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;">SQL> </span><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;">show user</span></span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">USER is "SYS"</span><br />
<span style="color: #9fc5e8;"><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;"></span><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;"><o:p></o:p></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="font-family: inherit;"></span></span><span style="color: #9fc5e8;"> </span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: inherit;">Y cambiamos la password al usuario sys o system de la siguiente forma.</span></span><br />
<span style="color: #9fc5e8;"></span><br />
<span style="color: #9fc5e8;"><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;">SQL> </span><span lang="EN-GB" style="font-family: "Courier New"; font-size: 10pt;">passw system</span></span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">Changing password for system</span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">New password:</span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">Retype new password:</span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">Password changed</span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;">SQL> quit</span><br />
<span lang="EN-GB" style="color: #9fc5e8; font-family: "Courier New"; font-size: 10pt;"></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: inherit;"></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: inherit;">Con estos pasos, ya habríamos cambiado la contraseña de los usuarios sys y system.</span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;"></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="font-family: Times New Roman;"><span style="color: #9fc5e8;">Basado en: </span><a href="http://www.dataprix.com/blogs/il-masacratore/como-recuperar-contrasena-usuario-sys-system-oracle-9i"><span style="color: #9fc5e8;">http://www.dataprix.com/blogs/il-masacratore/como-recuperar-contrasena-usuario-sys-system-oracle-9i</span></a></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;"></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;">Este problema de permisos con respecto a algunas configuraciones de Oracle, se puede eviatar modificando unos ficheros, como actualmente no lo he podido comprobar, prefiero daros la información completa cuando lo haga.</span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;"></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;">De todas formas, google es maravilloso y lo podríais encontrar.</span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;"></span></span><br />
<span lang="EN-GB" style="font-family: "Courier New";"><span style="color: #9fc5e8; font-family: Times New Roman;">Un saludo.</span></span>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-3754599465094871992012-11-02T12:52:00.000+01:002012-11-02T12:52:44.539+01:00Log y fichero de configuración de OCS Inventory NG.Chuleta para que no se me olvide.<br />
<br />
El cliente del OCS Inventory, se suele instalar en C:\Archivos de programa<br />
<br />
Sin embargo, el fichero de configuración del cliente y los logs se instalan en C:\ProgramData\OCS Inventory NG\Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com1tag:blogger.com,1999:blog-1033908114200717500.post-87895803008783048272012-10-31T13:18:00.003+01:002012-10-31T13:19:00.116+01:00La informática y yo.<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">De vez en cuando pongo algún post más personal y con algunos
/crys (esto del /cry es deformación de gamer).</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Hoy voy a hablar sobre mí, por si alguien me lee, pues que
sepa como acabé aquí.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Pues en esto de la informática, acabé de rebote, como mucho
las típicas clases de ofimática del cole/insti y poco más.</span><br />
<br />
<a name='more'></a><span style="font-family: Calibri;">Terminé el bachillerato y sabía que quería hacer un módulo,
así que en la solicitud puse que quería hacer:</span><br /></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Realización de espectáculos audiovisuales.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Producción de espectáculos audiovisuales.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Imagen.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Sonido</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">En ese orden, resulta que me sobraban 2 espacios y para que
voy a dejarlos libres, pues añadí:</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Administración de sistemas informáticos (ASI)</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Desarrollo de aplicaciones Informáticas. (DAI)</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Como veis, quedaron en 5º y 6º puesto, esto fue asíporque
pensé, bueno, no se me da mal el Word y compañía y por internet parece que me
manejo, además es en el mismo insti en el que hice el bachillerato, La Paloma, y
no está mal, pero vamos, no creo que me toque y si me toca así aprendo un poco
de ordenadores (jajajajaj, bendita inocencia, si hubiera sabido dónde me
metía).</span></div>
<span style="font-family: Calibri;">Cuál fue mi sorpresa y mi semi-cabreo, que cuando vi la
resolución de esto me mandaron a ASI, así que dije, bueno, si me gusta me
quedo y si no me gusta pues lo dejo y me pongo a currar.</span><br />
<span style="font-family: Calibri;"></span><br />
<span style="font-family: Calibri;">Empezó mi primer día de clase y el PC de mi casa que me
había cedido mi padre de otra persona, estaba en una caja y hasta 2 meses
después no tuve internet en casa, vamos, que no tenía ni un solo ordenador montado en mi casa.</span><br />
<span style="font-family: Calibri;"></span><br />
<span style="font-family: Calibri;">Fueron pasando los meses y fui comprendiendo, sacaba buenas
notas, hacía cables, redes, sistemas bbdd, programación (aquí al final no
sacaba buenas notas) y terminé los 2 años.</span><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Hice las prácticas y vi que esto me gustaba.</span></div>
<span style="font-family: Calibri;">Al volver de vacaciones, me apunté al MCSA en tajamar y
después empecé a currar, aunque no hacía mucho.</span><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Después fui a un antivirus, donde lo pasé genial y aprendí a
eliminar bichillos, a buscarlos y a borrarlos con estas 2 manitas y ayuda de Sysinternals.</span></div>
<span style="font-family: Calibri;">Allí conocí a Winhex, el cual me acompaña donde voy! Es mi
herramienta favorita y eso que yo no sé sacarla todo el jugo que merece.</span><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Después, acabe en una empresa que ofrecía servicios IT, allí
aprendí muchísimas cosas de todo y a pegarme con otras más, todavía recuerdo lo
que me costó montar un Sharepoint en un dominio Fedora-DS, no es fácil, y lo
contenta que me puse cuando lo conseguí, os cuento, aunque funcione, da
problemas con los grupos, no coge bien los del fedora-ds.</span></div>
<span style="font-family: Calibri;">Aquí fue donde no recuerdo ni cómo ni por qué, me apunté a
lo que sería mi primer Security Blogger Summit.</span><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Fui muy alegremente, yo en mi inocente ignorancia, y no se
tampoco como acabé twitteandome con Yago (@yjesus), pues a raíz de esto, conocí
su blog </span><a href="http://www.securitybydefault.com/"><span style="color: blue; font-family: Calibri;">http://www.securitybydefault.com/</span></a><span style="font-family: Calibri;">,
a los demás creadores de ese blog, empecé a meterme en el tema de la seguridad,
a intentar averiguar que era, cómo funciona, etc..</span></div>
<span style="font-family: Calibri;">Y a través de ellos y sus tweets, conocí a muuucha mas
gente, muuuchos mas blogs y muuucha mas información.</span><br />
<span style="font-family: Calibri;"></span><br />
<span style="font-family: Calibri;">Entre ellos mi compi de concursos del que aprendo y al que le
enseño :D</span><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Tanto me gustó y tantas cosas estaba viendo, que hice un par
de cursos de seguridad para intentar organizar mis ideas y saber lo que hacía y
por qué lo hacía.</span></div>
<span style="font-family: Calibri;">Peeeero, aquí es donde estoy encontrando un problema, mi
falta de conocimientos en algunos temas, que mucha gente ya los tiene antes de
estudiar porque saben lo que van a estudiar, porque en la carrera se da más a
fondo que en un módulo y porque yo acabé de rebote en un entorno que no tenía
ni idea de que “daemons” iba.</span><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Esto sobretodo lo noto cuando quiero profundizar en algún
tema, no provoca que lo deje, pero si provoca que vaya algo más despacio y que
me raye la cabeza.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Pero más tarde o más temprano sale y me pongo contenta :D</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p><span style="font-family: Calibri;">Así que después de todo esto, quién soy yo?</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Pues soy una chica de 27 años (sí, tengo 27 tacos, pero
cuando quiero los convierto en 12) Técnico superior en administración de sistemas
informáticos, con 5 años de experiencia en sistemas en general, que incluyen
diseño, instalación y mantenimiento de los entornos (ahora estoy empezando a
montar una red…y me va a quedar mas chuliiii), y que le gustaría que en un
futuro y cuando sea posible de verdad, hacerme un huequito en el mundo de la
seguridad!! </span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Aunque parece que Madrikeka ya se lo ha hecho, es lo que
tiene que tu alter se parezca a Arale y que sea mas pesadaaaaa…. :D pero siendo
sinceros, Madrikeka se parece más a mí de lo que os imagináis.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Así que sé que me queda un largo camino y que no va a ser fácil,
pero tarde o temprano llegaré!!</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p><span style="font-family: Calibri;">Pues ale ale, ya sabéis algo mas sobre mí! Y para todo lo
demás, Master Card XD</span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;"></span> </div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDU-InYBbtP1OGyIo-fG-mUw0SGCHIAm67uLQ6uciSD3LDAf2EcnyJSE1AIgErYB0nH6AyQD1Cyj01UQbuAK8RvPXSZGfg-i2c9idNbbtcioAKEisJV12_-Pd3HRVIXbK6eveCkHmQfjPt/s1600/madrikeka.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDU-InYBbtP1OGyIo-fG-mUw0SGCHIAm67uLQ6uciSD3LDAf2EcnyJSE1AIgErYB0nH6AyQD1Cyj01UQbuAK8RvPXSZGfg-i2c9idNbbtcioAKEisJV12_-Pd3HRVIXbK6eveCkHmQfjPt/s320/madrikeka.jpg" width="250" /></a> <span style="color: blue; font-family: Verdana, sans-serif; font-size: large;"> WIIIIIIIIII!!!!!!!</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
</div>
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com9tag:blogger.com,1999:blog-1033908114200717500.post-45084496298151976712012-10-25T11:08:00.000+02:002012-10-25T11:10:48.596+02:00Los .vhd y lo maleducados que son.En temas de virtualización ya no soy una inculta y día a día voy aprendiendo mas y convirtiéndome en una pequeña experta, pero pequeña :D<br />
<br />
No se si sabréis, que si creas un disco virtual en Hyper-V y en casi todos los sistemas de virtualización en modo...siguiente...siguiente...siguiente, te crea el disco como le sale de las bolingas.<br />
<br />
Cambiar "le sale de las bolingas" por dinámico.<br />
<br />
<a name='more'></a><br />
<br />
Efectivamente, te lo crea dinámico y como vayas un poco a tiro hecho, ni te enteras.<br />
<br />
Por eso, en un post anterior indiqué varias cosas a tener en cuenta para crear un disco, <a href="http://monimandarina.blogspot.com.es/2012/04/algo-de-optimizacion-y-tunning-para.html" target="_blank">en este link.</a><br />
<br />
Aparte de que lo hagas sin darte cuenta, puedes pensar que vas a usar el disco para una cosa y que luego sea para otra, como nos ha pasado en este caso.<br />
<br />
Debido a esto, resulta que una aplicación está teniendo problemas de lectura/escritura y el problema probablemente sea que el disco es dinámico, por lo que necesito que sea fijo, eso no hay problema, desde la edición del disco se puede convertir en fijo, peeeero, siempre hay un pero, el total del disco al convertirlo en fijo, no cabe en la máquina física, esto ya empieza a molar.<br />
<br />
Problema y lo suelto del tirón: Tengo un disco dinámico que necesito hacerlo fijo que además tengo que encogerlo para que me quepa en la máquina.<br />
<br />
Y no he encontrado la forma de que Hyper-V me ayude.<br />
<br />
Así que, vayamos por partes, primero me llevo la máquina a un sitio con mas espacio y transformo el disco dinámico en fijo.<br />
<br />
Finalizo el cambio y la máquina se levanta.<br />
<br />
Segundo, muevo la máquina de mas de 200 GB a otra máquina que es como un minilaboratorio para ver que hago con su vida y la mía.<br />
<br />
Buscando por la red encuentro VHD resizer de <a href="http://vmtoolkit.com/" target="_blank">vmToolkit</a> y digo....oooOOOO estos señores estaban pensando en mí cuando crearon esta herramienta (por cierto, también tienen vmdk to vhd converter, que funciona de lujo).<br />
<br />
Así que la instalo en mi equipo de laboratorio y la abro, me sorprende su sencillez, mas tarde subo pantallazo; simplemente pide el .vhd a modificar y ruta y nombre del fichero ya modificado.<br />
<br />
Aunque se puede cambiar, el ya detecta que es fijo y te da el mínimo y máximo que le puedes dar o quitar.<br />
<br />
En mi caso, lo reduciré de 250 GB a 150 GB.<br />
<br />
Le damos a convertir y tarda, tarda mucho, al principio todo se queda en gris y en el directorio donde se está realizando la conversión, ves un disco que está creciendo, una vez llega al tamaño que le indicas, empieza a generar sectores y a hacer los cambios correspondientes, mas o menos me tardó cerca de 2 horas.<br />
<br />
Si si, es mucho tiempo, pero luego abrí VirtualBox, añadí el disco y el Windows 7 que había por debajo se levanto sin ningún problema.<br />
<br />
Es decir, había convertido un disco a fijo y lo había reducido unos 100 GB y el sistema operativo se levantó sin problemas.<br />
<br />
Así que ayer, estaba muy contenta.<br />
<br />
Espero que os pueda servir esto en un futuro.<br />
<br />
Un saludete a todos!!Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-59237163574798205562012-10-21T17:21:00.001+02:002012-10-21T17:58:33.309+02:00Aprendiendo con Metaesploitable.<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>ES</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-fareast-language:EN-US;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
Soy una inculta en el tema de la seguridad y el
autoaprendizaje es lento, así que hay que buscar formas no agresivas para
aprender, vamos, que no voy a publicar si esto lo hago contra una máquina
chunga o no, por que el otro día se dio la casualidad que estuve rodeada de
maderos y yo pensando…anda que como haga cosas malassssssss…..me pillan fijo,
que yo miento muy mal XD</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Y ahora para rellenar, pensaba hacer esto escuchando el
último disco de Sean Paul, pero no voy a poder por que me estoy bailando todas
en la silla, y sin parar!!</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Bueno, prosigo que ya sabéis que me disperso y os disperso a
los demás; </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Hace relativamente poco hice un curso de seguridad y conocí
Metaesploitable, una máquina virtual que ya viene preparada para probar cositas
(<span style="mso-spacerun: yes;"> </span><a href="http://www.offensive-security.com/metasploit-unleashed/Metasploitable">http://www.offensive-security.com/metasploit-unleashed/Metasploitable</a><span style="mso-spacerun: yes;"> </span>) Como veréis viene una máquina preparada
para Vmware, pero funciona perfectamente en VirtualBox.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Lo bueno de esta máquina es que ya viene con muchas
aplicaciones “por defecto” y por ello trae muchas vulnerabilidades.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
OJO!! Si vais a hacer pruebas con esto, esta documentación
tiene spoilers.<br />
<br />
<br />
<a name='more'></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
No os voy a explicar como levantar las máquinas, pero si
tenéis dudas me avisáis y os ayudo con lo que haga falta.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Voy a intentar hacer todo el proceso sin trampas, por que
con Metaesploitable ya te vienen un README con toda la info, pero no lo voy a
mirar, aunque eso no significa que no me sepa ya el user y pass, jejejejee.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Empecemos que todavía no he contado nada.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Se supone que desconocemos la IP de la máquina vulnerable,
por lo que vamos a realizar un escaneo básico con nmap de la red, se me
olvidaba comentar que voy a usar Backtrack.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
He de decir, que yo siempre me conecto por ssh con Mobaxterm para la
ejecución de comandos y que me encontré 2 problemillas, por defecto el
servicio ssh en la máquina de backtrack viene desactivado y que al levantarlo e
intentar conectarme, me daba el siguiente error:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="EN-US" style="mso-ansi-language: EN-US;">“</span><span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">Read from socket
failed: Connection reset by peer”</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Para solucionarlo, simplemente seguir los pasos que nos
indica Backtrack:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Courrier New"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: "Courrier New";"><a href="http://www.backtrack-linux.org/wiki/index.php/Basic_Usage#Starting_services">http://www.backtrack-linux.org/wiki/index.php/Basic_Usage#Starting_services</a></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Ahora podemos acceder por ssh a nuestra máquina de
Backtrack y continuar lo que estábamos haciendo, en este caso, averiguar la IP
de la máquina.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Abrimos una terminal y ejecutamos:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
#nmap 192.168.1.-255</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
El -255 hará que realicemos un scan de toda la red, os
aviso, esto puede tardar un ratillo dependiendo de todo lo que tengáis en
vuestra red.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Una vez finalice el scaneado, nmap nos soltará unos
resultados, yo como conozco lo que tengo (eso parecía pero me he encontrado con
un servicio que desconocía y que es de Windows, lo tengo que investigar), he
detectado que la máquina que busco es la siguiente:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">Nmap scan report for 192.168.1.38</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">Host is up (0.00056s latency).</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">Not shown: 988 closed ports</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">PORT<span style="mso-spacerun: yes;"> </span>STATE
SERVICE</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">21/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>ftp</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">22/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>ssh</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">23/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>telnet</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">25/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>smtp</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">53/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>domain</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">80/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>http</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">139/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>netbios-ssn</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">445/tcp<span style="mso-spacerun: yes;">
</span>open<span style="mso-spacerun: yes;"> </span>microsoft-ds</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">3306/tcp open<span style="mso-spacerun: yes;">
</span>mysql</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">5432/tcp open<span style="mso-spacerun: yes;">
</span>postgresql</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">8009/tcp open<span style="mso-spacerun: yes;">
</span>ajp13</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">8180/tcp open<span style="mso-spacerun: yes;">
</span>unknown</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;">
<span lang="EN-US" style="font-family: "Courrier New"; font-size: 9.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Courrier New";">MAC Address: 08:00:27:84:19:63 (Cadmus Computer
Systems)</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
La verdad que el puerto de MySQL y de PostgreSQL<span style="mso-spacerun: yes;"> </span>identifican bastante a la máquina, ya que sé
que en esta red no tengo nada así instalado.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
A partir de aquí, podríamos ir servicio por servicio
buscando vulnerabilidades, pero actualmente tenemos muchas herramientas que nos
sirven para “agilizar” este proceso.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Vamos a pasar a usar Nessus, a ver si nos indica posibles
vulnerabilidades.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
La repuesta es que si que nos va a soltar cosillas, ya que
esta máquina está preparada para ello.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Finalmente lo he instalado en mi PC, ya que Nessus
recomienda usar 2 GB de ram como mínimo. Si queréis saber mas sobre la
instalación o la aplicación, os dejo el link de su docu, que además la tienen
en castellano:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="http://www.tenable.com/products/nessus/documentation#spanish">http://www.tenable.com/products/nessus/documentation#spanish</a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Después de instalar Nessus, registrarlo, bla, bla, bla….</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Accederemos y haremos nuestra primera política de escaneo,
si nos dirigimos a la pestaña de Policies, veremos que ya tenemos alguna
predefinida, pero vamos a crear una propia, le damos a add y veremos que
tenemos que podemos ponerle nombre y una descripción, además tenemos las
opciones del scaneo de puertos inicial, estas opciones están relacionadas con
Nmap, así que os recomiendo que le echéis un vistazo al man de Nmap.</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWMg2xE6go5-c2i2JBHzl29iKqe7RKAglonDjiUxqg8l98tzGjgv6vch81El2wxj7z6FAflLrQJqbrPJJL5f0eCLKZPFN6bS-usrsq7VgdAmP_rPDQ65PU5nc59_TPosqLv7Cg5tWdyIaP/s1600/policies.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWMg2xE6go5-c2i2JBHzl29iKqe7RKAglonDjiUxqg8l98tzGjgv6vch81El2wxj7z6FAflLrQJqbrPJJL5f0eCLKZPFN6bS-usrsq7VgdAmP_rPDQ65PU5nc59_TPosqLv7Cg5tWdyIaP/s320/policies.jpg" width="320" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmN7NeHj8gCidWe4HVzBhqHId9jbGnvlp-jz1yR9N99Io29pUrpVzP6-m_QBegEL0wclUEQkifV1uYNgAsmxtBWRxRsNlNnSN4mL203-9dxx51ykP9xvbDppYigGB-mZJcZgV1-iCMwH2M/s1600/conf1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmN7NeHj8gCidWe4HVzBhqHId9jbGnvlp-jz1yR9N99Io29pUrpVzP6-m_QBegEL0wclUEQkifV1uYNgAsmxtBWRxRsNlNnSN4mL203-9dxx51ykP9xvbDppYigGB-mZJcZgV1-iCMwH2M/s320/conf1.jpg" width="320" /></a></div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
También podéis ver la docu de Nessus que lo explica todo
bastante bien.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Una vez todo configurado, iremos pulsando Next para ir
avanzando.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
La siguiente pestaña la de “credentials”, en un principio no
vamos a tocar nada, sobretodo es, por si lo usamos en un entorno en el que
tenemos login, aunque tengo que conocer mas sobre este apartado, así que,
NEXT!!!</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Y llegamos a lo importante, los plugins, que se divide en 2
partes, la de la izquierda, sería el tipo de plugin y a la derecha todos los
plugins que hacen referencia a ese tipo, si lo veis 1 a 1, observaréis que hay
demasiados XD</div>
<div class="MsoNormal">
Aquí lo que haremos, será desactivar los tipos de plugins
que no nos hagan falta, por ejemplo, los de CISCO, SOLARIS,cualquier de
Microsoft; yo como en este caso si conozco la distro de la máquina, desactivo
CentOS, SuSE, Mandriva, etc.. y dejo Ubuntu, Debian, y otros plugins de interés,
sinceramente, para estos casos hay que currarse “LA PLANTILLA” e ir plugin por
plugin activando y desactivando.</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSiU2z_62ATEdmPaCRdxBnIshNhaCpasG8om51dE9nGyk-HnwXERwSh_DJyYW4Qncz8T3PPY7bUWtXMH39QPfDHJdkEK05tYs7wXaEBd12Bdh8ihlxRZoEilYf_PY1ah5fonv06UFSPbC/s1600/plugins.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSiU2z_62ATEdmPaCRdxBnIshNhaCpasG8om51dE9nGyk-HnwXERwSh_DJyYW4Qncz8T3PPY7bUWtXMH39QPfDHJdkEK05tYs7wXaEBd12Bdh8ihlxRZoEilYf_PY1ah5fonv06UFSPbC/s320/plugins.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Una vez finalizado esto, NEXT!!</div>
<div class="MsoNormal">
Llegamos a preferences, sinceramente de esta parte tampoco
conozco mucho<span style="mso-spacerun: yes;"> </span>y no voy a tocar por que
para hacer lo que estoy haciendo no lo necesito, pero son deberes que me
apunto.</div>
<div class="MsoNormal">
Así que, NEXT!!! Digo Submit!! Que ya hemos terminado y así
finalizamos la creación de nuestra plantilla.</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUgdnrlQ0huelSn62Qg5Ccoc2O3nprGhcNl0Ubhzf6oeLP_643bczPXpCqYLWsM4KYEIyeUh8luoB1cQPBcVPRZCOArdISoIc0SssuXEvxPaAvhQyo5BXjVJelosrcHXmyztMGkps_BVZY/s1600/politica_agregada.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUgdnrlQ0huelSn62Qg5Ccoc2O3nprGhcNl0Ubhzf6oeLP_643bczPXpCqYLWsM4KYEIyeUh8luoB1cQPBcVPRZCOArdISoIc0SssuXEvxPaAvhQyo5BXjVJelosrcHXmyztMGkps_BVZY/s320/politica_agregada.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Ya vamos terminando; nos vamos a la pestaña scan y le
ponemos nombre al escaneo, le decimos el type, en este caso que lo ejecute
ahora, le indicamos la plantilla, yo la he llamado Metaesploitable y en scan
targets, ponemos la IP y LAUNCH SCAN!!!</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDvpuGzTYre2586g8u0LwXwXNO02FI777RHA6mqpcxpnWuo4VJWAzEtYRQVZFNP2UmbkmBmzJuMI-lYVYn4kCqKA0yCAIh-bFuw6Cs6ypt1QQ_0GX7hbEx2MvnHJfRNhHOGIoNUQFnFqL7/s1600/scan.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDvpuGzTYre2586g8u0LwXwXNO02FI777RHA6mqpcxpnWuo4VJWAzEtYRQVZFNP2UmbkmBmzJuMI-lYVYn4kCqKA0yCAIh-bFuw6Cs6ypt1QQ_0GX7hbEx2MvnHJfRNhHOGIoNUQFnFqL7/s320/scan.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Tardará un ratito, si vamos a la pestaña Reports, nos dirá
que está Running, así que esperemos que no se canse pronto.</div>
<div class="MsoNormal">
Como hemos dejado muchos plugins, tardará un ratito, pero al
finalizar, hacemos doble click sobre el scaneo y esto será lo que nos encontró:</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyLQq6YjtuaG88R0RTYz1gak77bFMwI6cHKVJwi-wdyejL19cZWhgLHPEUPac4N6KuWCxGnEalFdZajtc9aTQTuELXO8foqQNxrWvKWh2BcXPjIL4QbjlLZ9wNVLkPlI5MaaI5v2C7pjGX/s1600/reporte_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyLQq6YjtuaG88R0RTYz1gak77bFMwI6cHKVJwi-wdyejL19cZWhgLHPEUPac4N6KuWCxGnEalFdZajtc9aTQTuELXO8foqQNxrWvKWh2BcXPjIL4QbjlLZ9wNVLkPlI5MaaI5v2C7pjGX/s320/reporte_1.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNY-g5ZvL59OHZW1xXljorNlFfFgTGPR5eeMggbA3-ypLM2MTITrfBw05jKMWxaPmPGZLVBGhk_ToY7WfRkcbyS-fLr-600CL-R0Teaur6VPzED-iDJXTQJRgOwiUl8woValeWm46i2gzm/s1600/reporte_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNY-g5ZvL59OHZW1xXljorNlFfFgTGPR5eeMggbA3-ypLM2MTITrfBw05jKMWxaPmPGZLVBGhk_ToY7WfRkcbyS-fLr-600CL-R0Teaur6VPzED-iDJXTQJRgOwiUl8woValeWm46i2gzm/s320/reporte_2.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<br />
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
uyyyyyyy....esos colores morados, rojos y naranjasss.....que mal pintaaannnnnn.....uyuyuyuyuyyyyy </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Y aquí os dejo, el próximo día: como usar estas
vulnerabilidades, y el fin de estos posts será, “bastionar” la máquina de
Metaesploitable para hacerla lo mas segura posible.</div>
<div class="MsoNormal">
Para ese último punto, lo mismo pido ayuda.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Por cierto, si os liais con esto, lo ideal es que sepáis que estáis haciendo en cada momento, es decir, si pilláis la vulnerabilidad y le lanzáis un exploit, no está demás que conozcais un poco de lo que hace por detrás.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Yo haré lo correspondiente, así que lo mismo tardo un poquito en contaros el siguiente paso!! </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Un saludo y espero que os haya gustado.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
PD: El próximo día hago los pantallazos limpios, pero es que no me apetecía nada ponerme a recortar, así que os cuento lo que aparece:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
IE, explorador, Windows Media, Sea Monkey, WoW (:D), Raid Call, Fraps, Mobaxterm, VirtualDub,Word, VirtualBox, Nitro Reader, Paint y creo que ya está todo!! </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
PD2: Al final lo hice escuchando el disco de Héroes y Villanos de Crew Cuervos! Discazo! </div>
<div class="MsoNormal">
<br /></div>
<br />
Ciaooo!!! Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com3tag:blogger.com,1999:blog-1033908114200717500.post-14742217189403704392012-09-21T13:08:00.000+02:002012-09-21T13:08:21.773+02:00En breve estoy de vuelta...Se que no hay muchos que me echéis de menos, pero he estado de vacaciones y esta semana estoy sociabilizándome....<br />
<br />
El martes sale la expansión de MoP y durante unas semanas voy a sacar mi lado mas friki....leveada al 90 y equipada en 3 días lista para raidear!!<br />
<br />
Esto que significa, que le voy a dar chicha al juego....y que mas significa...que me voy a volver antisocial por que quiero ponerme las pilas y estudiar y aportar mas a mi blog....<br />
<br />
Así que se acabó mi vida social...salvo excepciones....<br />
<br />
Por lo que voy a repartir mi tiempo fuera del curro entre el WoW y mis estudios, ni siquiera @ajrob69 va a disponer de mí.....jajajajajaja!!<br />
<br />
-> Nota mental: Comprar 2 ventiladores para el PC que si no lo voy a achicharrar!<br />
<br />
Espero poder daros algo interesante el finde del 28 o del 5!! y si no....me podéis echar la bronca por vaga!!<br />
<br />
Un saludo a todos!!<br />
<br />
PD: el lunes me disfrazo algo del tipo...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgScllaVX-hmhzmyrCGLSS9aIcG9hGrso6etruBBUKb9xOEe3zdSL4RDLb4OBDagf939nKvpVh1g7irzYQdhTnoWAE7pWjexvUZgdqsBwdpwi4LPHaXu2aBG7ZVl7zow5pS36MglZtA1nhf/s1600/369d7_thumb_wow-pandaren-hembra.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgScllaVX-hmhzmyrCGLSS9aIcG9hGrso6etruBBUKb9xOEe3zdSL4RDLb4OBDagf939nKvpVh1g7irzYQdhTnoWAE7pWjexvUZgdqsBwdpwi4LPHaXu2aBG7ZVl7zow5pS36MglZtA1nhf/s1600/369d7_thumb_wow-pandaren-hembra.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
Ya os dije que iba a sacar mi lado mas friki!!</div>
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com4tag:blogger.com,1999:blog-1033908114200717500.post-71331522463582044362012-09-01T09:20:00.002+02:002012-09-01T09:21:57.044+02:00Madrikeka y su PC!!Como le prometí a <a href="http://twitter.com/magicsito" target="_blank">@MagiCsito</a> (que bien!! en la tele están poniendo All the smal things!! a bailarrr!!!) y después de que viera que me he pillado un PC nuevo, voy a poner las especificaciones:<br />
<br />
La caja, una Hummer SX, que trae un ventilador, y para poner 3 o 4 mas, aparte de 2 huecos para refrigeración líquida (de momento no me interesa :D) y como conectores frontales un USB, audio, micro y USB 3.0.<br />
<br />
<a href="http://uk.nox-xtreme.com/en/chassis/hummer-sx" target="_blank">http://uk.nox-xtreme.com/en/chassis/hummer-sx </a><br />
<br />
(Oh! my Cat!! In the shadows!! temazo!!)<br />
<br />
Pasemos al interior!!<br />
<br />
Mi placa, una Asus P8 H77-M PRO <br />
<br />
<a href="http://www.asus.com/Motherboards/Intel_Socket_1155/P8H77M_PRO/" target="_blank">http://www.asus.com/Motherboards/Intel_Socket_1155/P8H77M_PRO/</a><br />
<br />
Preciosa! con USBs 3.0, SATA 3 GB y 6 GB con sus correspondientes cables, y muuuchas cosas mas, podéis revisar en el link toda la info.<br />
<br />
La fuente es una CoolBox Powerline F650, la verdad que no hace nada de ruido....pero, esto si que tiene un pero, los cables de energía de la placa, son un poco cortos, uno de ellos tuve que pasarlo por debajo de la gráfica y esto me impidió poner la gráfica un slot mas arriba, por lo que finalmente tuve que ponerlo en el slot mas bajo y dejarlo cerca de la fuente, ya que en esta caja, la fuente va en el suelo!! yo al principio flipé por que nunca habís visto que la fuenta fuera en el suelo, pero está muy bien pensado, ya que esta caja tiene bastante hueco con el suelo y tiene pinta de ir muy bien, dentro de unos meses veremos que tal.<br />
<br />
<a href="http://www.powercase.es/index.php?page=shop.product_details&category_id=23&flypage=flypage.tpl&product_id=430&option=com_virtuemart&Itemid=71&lang=es" target="_blank">http://www.powercase.es/index.php?page=shop.product_details&category_id=23&flypage=flypage.tpl&product_id=430&option=com_virtuemart&Itemid=71&lang=es</a><br />
<br />
La memoria RAM, es supergraciosa, tiene pinchitos :D<br />
Es una (ooooh!! chasing cars!! con esta canción tuve un bonito despertar :D) Corsair Vengeance Blue edition, DDR3, un Kit de 8 GB -> 2x4GB<br />
<br />
<a href="http://www.corsair.com/en/memory-by-product-family/vengeance/vengeance-8gb-dual-channel-ddr3-memory-kit-cmz8gx3m2a1600c9b.html" target="_blank">http://www.corsair.com/en/memory-by-product-family/vengeance/vengeance-8gb-dual-channel-ddr3-memory-kit-cmz8gx3m2a1600c9b.html</a><br />
<br />
Y me faltan las 2 cosas que mas me gustan!!<br />
<br />
(Acabo de descubrir que mi memoria tiene garantía de por vida y que el disco tiene 5 años de garantía, oooOOOOOOoooo) <br />
<br />
El disco, 1 TB de Western Digital Caviar Black<br />
<br />
<a href="http://wdc.com/en/products/products.aspx?id=760" target="_blank">http://wdc.com/en/products/products.aspx?id=760</a><br />
<br />
El chico de la tienda flipó cuando vió que había cogido este disco por mi misma :D, reconozco que la microninformática no me mola, de hecho hubiera preferido uno de marca, pero solo por la gráfica, al cambiarla, el precio del PC se me iba de la mano, así que al final me lo hice por piezas y me tuve que poner las pilas para comprarme un pepinillo!!!<br />
<br />
Y por último, la razón por la que me compré este PC, la gráfica, una Asus GTX550 TI DirectCU:<br />
<br />
<a href="http://www.asus.com/Graphics_Cards/NVIDIA_Series/ENGTX550_Ti_DCDI1GD5/" target="_blank">http://www.asus.com/Graphics_Cards/NVIDIA_Series/ENGTX550_Ti_DCDI1GD5/</a><br />
<br />
Se que no es el pepinazo de las gráficas, pero para mi WoW, hacer mis videos....y para probar cosillas....es más que suficiente....eso sí, puse los gráficos del WoW a tope y no veais el puerto de Ventormenta, lo bien que se veía el reflejo del muro en el agua XD<br />
<br />
Después de montarlo, descubrí que tuve 2 fallos, la caja solo viene con un ventilador, por lo que le compré otro, se me fue la pinza y no tuve en cuenta el tamaño, pillé uno de 80mm y tenía que ser de 120mm, por lo que iré a cambiarlo.<br />
<br />
Y luego..que el USB 2.0 del frontal no me funciona, así que algo no habré conectado correctamente, tengo que revisarlo!!<br />
<br />
La verdad que lo he usado muy poco, pero tiene pinta de que me va a hacer muy feliz y mi otro PC, mi pequeño Dell Vostro 200 va a pasar a montar mi primer laboratorio!! Así que en cuanto tenga tiempo, le daré chicha a ambas cosas y os contaré mis avances.<br />
<br />
Bueno, os dejo una foto, aunque no es muy buena!! y junto con mi tabla de planchar!! XD<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBlRGVU03QYRPLPsbzlJCPjtmDk2fnAeDyKvTnoWSjaCjoY_G4V9sfL7I7dAul-Hvrb5veCVBWYY1MFV1SK66nTZjF_vae7uzK6ElhqYjP0g1aXiQLvTT2tFJJiBVm9Eig_SV0K4r8FKMv/s1600/IMAG0274.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="191" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBlRGVU03QYRPLPsbzlJCPjtmDk2fnAeDyKvTnoWSjaCjoY_G4V9sfL7I7dAul-Hvrb5veCVBWYY1MFV1SK66nTZjF_vae7uzK6ElhqYjP0g1aXiQLvTT2tFJJiBVm9Eig_SV0K4r8FKMv/s320/IMAG0274.jpg" width="320" /></a></div>
<br />
<br />
Un saludo a todos y ya nos veremos!!Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com3tag:blogger.com,1999:blog-1033908114200717500.post-52734652184173935742012-08-28T10:58:00.002+02:002012-08-28T11:02:00.576+02:00Los usuarios "avanzados" y yo.<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">Hoy es de esos días, de esos días en el que un usuario “avanzado”
me lleva tocando la nariz un par de días.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<span style="font-family: Calibri;">¿Por qué “avanzado”? Porque estamos migrando los PCS a un
sistema operativo nuevo y claro, como este usuario lo tiene instalado en su
casa con permisos de administrador, se cree que es Jauja.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p><span style="font-family: Calibri;">Resulta <span style="mso-spacerun: yes;"> </span>que ahora, con
Windows 7, puedes instalar actualizaciones de Java, Flash Player y otros
software sin permisos de administrador, anda! Yo lo acabo de descubrir, espera…voy
a hacer unas pruebas….</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p><span style="font-family: Calibri;">Pues resulta que no, que Windows 7 se comporta igual que vista,
xp, me, 2000, etc..</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p><span style="font-family: Calibri;">Lo que sí que me he dado cuenta, es de lo peligroso que es, que estos
usuarios tengan en su casa un sistema operativo instalado con permisos de
administrador, pero es que es más peligroso cuando se creen usuarios “avanzados”,
estos usuarios intentan siempre dejar mal al administrador, intentan hacer que
saben más que tú sobre un sistema operativo, intentan hacer creer que lo que
ellos dicen está bien y lo que tu dices está mal.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p><span style="font-family: Calibri;">El problema de estas cosas, es que el administrador es el
que tiene que demostrar que el otro se está colando, ya que por desgracia a la
gente de sistemas no siempre se le hace todo el caso que se merecen y encima
nos obligan a dejar mal al otro usuario.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;">P</span></o:p><span style="font-family: Calibri;">or lo que si tenéis un usuario así, lo mejor que podéis
hacer es respirar 2 o 3 veces, y contestarle a sus correos o en persona de la
formas más diplomática que tengas, comentándole por que las cosas son así y
quedando bien en todos los aspectos.</span></div>
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;">
<o:p><span style="font-family: Calibri;"> </span></o:p></div>
<span style="font-family: Calibri;">Luego abres tu blog o lo creas y haces un post acordándote
de los usuarios “avanzados”.</span><br />
<span style="font-family: Calibri;"></span><br />
<span style="font-family: Calibri;">Por suerte, yo solo tengo 1.</span><br />
<span style="font-family: Calibri;"></span><br />
<span style="font-family: Calibri;">Dedicado a todos los administradores que tienen usuarios a su cargo.</span>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com1tag:blogger.com,1999:blog-1033908114200717500.post-25733436931818737912012-08-21T10:36:00.007+02:002012-08-21T12:24:35.612+02:00El maravilloso mundo de la instalación de GIT + GITOLITE.Este es el tipo de aplicaciones que me hacen sentir tonta y mira no, se que no lo soy!<br />
<br />
Tampoco soy supermegainteligente, pero vamos, que me defiendo....<br />
<br />
Ya se que había dicho que no iba a hacer un post de la instalación de Git, pero como ninguna de las chopocientas guías que me he leído me ha funcionado bien, he decidido hacer una guía propia especificando todo, ya que parece que la instalación de Git cambia por disitribución de Linux y por versión sacada, es que ni la guía oficial.<br />
<br />
Resulta que Git es un controlador de versiones hecha especialmente para desarrolladores y su diferencia con los demás,es que es distribuido (sigo prefiriendo subversion), supuestamente eso es mejor, además, que lo diseño y lo programó Linus Torvalds.....estoy segura de que el día que se inventó esto estaba fumando algo....<br />
<br />
Instalar Git es muy fácil, o yum install git, apt-get git, siguiente siguiente si lo instalas en windows.... pero ojo! que esto es solo el cliente, para poder tener un servidor de git, se puede solo con git, pero lo lógico es acompañarlo de gitolite, por cierto, después de instalar esto, que sepáis que no tiene Web y que hay que liarla un poquillo mas para ponerle interfaz (menos de 4 minutos tardo en instalar Subversion XD).<br />
<br />
Por qué he dicho que me hacía sentir tonta? por que después de no conseguir que ninguna guía me funcionara y conseguir instalarlo, resulta que con 10 comandos, está git funcionando.<br />
<br />
Vayamos al lío:<br />
<br />
Esta guía es para instalar Git y Gitolite en un CentOS 6.3 a día 21 de Agosto de 2012., para Gitolite3 con la versión 1.7.1 de Git; fuera de estos parámetros, no se yo que tal funcionará.<br />
<br />
En el servidor hacemos lo siguiente:<br />
<br />
<em><span style="color: #f1c232;">#yum install git</span></em> (instalación de git)<br />
<br />
<span style="color: #f1c232;"><em>#useradd git</em> </span><br />
<em><span style="color: #f1c232;">#passwd git</span></em> (creamos el usuario git y le ponemos contraseña)<br />
<br />
<br />
<em><span style="color: #f1c232;">#su git</span></em> (nos logamos con el usuario git)<br />
<br />
<em><span style="color: #f1c232;">$git clone </span></em><a href="http://github.com/sitaramc/gitolite"><em><span style="color: #f1c232;">http://github.com/sitaramc/gitolite</span></em></a> (nos descargamos gitolite, comprobar esta URL si ha pasado tiempo desde que se escribió esta guía)<br />
<br />
<span style="color: #f1c232;"><em>$gitolite/install</em></span> (instalamos gitolite, esto nos crea los repositorios testing y gitolite-admin)<br />
<br />
<span style="color: #f1c232;"><em>$ssh-keygen</em></span> (creamos la clave de git, la guardará en $HOME/.ssh/)<br />
<br />
<em><span style="color: #f1c232;">$gitolite/src/gitolite setup -pk id_rsa.pub</span></em> (generamos el acceso para la clave de git para así administrar lso repositorios).<br />
<br />
Una vez ejecutado este último comando, en .ssh/Authorized_keys aparecrá un comando sobre esta clave, no hay que tocarlo, es sólo para que lo podáis ver.<br />
<br />
<em><span style="color: #f1c232;">$scp id_rsa* </span></em><a href="mailto:usuario@clientegit:[/home/usuario/.ssh"><em><span style="color: #f1c232;">usuario@clientegit:[/home/usuario/.ssh</span></em></a><em><span style="color: #f1c232;">]</span></em> (copiamos las claves en el .ssh de nuestro usuario)<br />
<br />
Por último, volvemos al cliente e intentamos clonarnos un repositorio:<br />
<span style="color: #f1c232;"><em>$git clone </em></span><span style="color: #f1c232;"><a href="mailto:git@servidorgit:gitolite-admin"><em>git@servidorgit:gitolite-admin</em></a> </span><span style="color: black;"> (descargamos el repo en la ruta que queramos)</span><br />
<br />
Debería mostrar como se descarga el repositorio.<br />
<br />
A partir de este momento, ya es conocimiento sobre los comandos y usos de Git.<br />
De momento no se manejar correctamente el Git, pero si aprendo alguna cosilla mas que os pueda ser interesante, os lo pondré.<br />
<br />
Ah! si desde el cliente de Git hacéis un:<br />
<br />
$ssh <a href="mailto:git@servidorgit">git@servidorgit</a> info<br />
<br />
Os mostrará la versión de Gitolite, de Git y los repositorios a los que tenéis acceso con sus permisos correspondientes<br />
<br />
Pues nada, espero que no sufráis como lo he hecho yo, si os toca instalarla!!<br />
<br />
Un saludo.<br />
<br />
<br />Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com5tag:blogger.com,1999:blog-1033908114200717500.post-39095445754017202112012-08-21T09:24:00.000+02:002012-08-21T09:24:20.059+02:00:'(Echo de menos mi laaarga coleta.....<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimUJvetFZs69LYjF1NiBj0IoyrGO876HkGJQuNP0gp7kPHGNSoMwU06Z6LG4jiI82agCvhuxbEDWvFKN2wMXS6oAlIFynW5iUZDZrtbzSKkO9aogLibw_gRCIB1CxCp1djzfEEmKtPRt43/s1600/coleta.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimUJvetFZs69LYjF1NiBj0IoyrGO876HkGJQuNP0gp7kPHGNSoMwU06Z6LG4jiI82agCvhuxbEDWvFKN2wMXS6oAlIFynW5iUZDZrtbzSKkO9aogLibw_gRCIB1CxCp1djzfEEmKtPRt43/s320/coleta.jpg" width="226" /></a></div>
<br />
Sacada de <a href="http://indigenica.tumblr.com/post/29755194918">http://indigenica.tumblr.com/post/29755194918</a> !!!<br />
Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-28035225895651094692012-08-11T13:00:00.000+02:002012-08-11T13:06:25.040+02:00Maltego y yo, la paliza - Segunda parte.<br />
<div class="MsoNormal">
Buenas a todos!!</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
He vuelto y con fuerzas renovadas; después de una semana
durilla, leer e informarme más sobre Maltego he estado jugueteando un poco mas
con la aplicación.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
De hecho, hoy he descubierto que tenía una cuenta de MySpace
y una cuenta de Flickr sin usar desde hace milenios, así que he aprovechado y
las he cerrado.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Como veis, un uso particular para la gente es que, como dije
anteriormente, te puedes buscar a ti mismo a través de tus alias, direcciones
de correos o dominios que tengas y así controlar un poquillo por dónde sales,
que cuentas tienes abiertas, etc..</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Incluso para los padres preocupados por dónde están sus
hijos, pues bueno, un poco de control, aunque personalmente también recomiendo
una buena comunicación con los niños y hacerles entender lo que deben y no
deben hacer.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Bueno, después de buscarme a mi misma como enseñe el otro
día, necesitaba un dominio grande para que pudierais ver diferentes cosillas.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Teniendo en cuenta lo del aterrizaje en Marte y las coñas
varias respecto al aeropuerto de Castellón, me he decantado por la nasa, que es
lo que usa todo el mundo (me parece que me voy a tener que hacer un dominio para
estas cosas o si no voy a acabar entre barrotes XD).</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Una vez decidido que dominio queremos, abrimos Maltego, desde
la paleta escogemos dominio, e introducimos el que deseemos buscar. </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
En este caso me ha dado un montón de resultados, así que os
podré mostrar diferentes informaciones<br />
.</div>
<div class="MsoNormal">
Una vez que termina de buscar, a mano derecha tenemos una
vista general dividida y organizada en colores:</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1hVfUFbiJ94AQI80Jq57TmRERa_rubozGa9-LqvmF04-4bYFI6Dq7GEx7LAfe8glY63EYcOOIP6rXgbFKyFjEiMr09GyU0_iEQDRA-k-BsZvwfdqeEtHfPyasMZ9SH9As861ML0BR-aSa/s1600/Maltego_busqueda_busqueda.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdTLXGc3aP0GAxxWg4k4RLt58M0OaRjvaxCJQmllGMjTfB7Qw27yShw_CeTAbMjG5YH_Zg3V60s8rGKrGKuqPeWgbRHhUbYnsd12Hixoa8eQDY1qBPhf5-Mx8UYQWTUbC-6PXkfO8lOs5C/s1600/maltego_general.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdTLXGc3aP0GAxxWg4k4RLt58M0OaRjvaxCJQmllGMjTfB7Qw27yShw_CeTAbMjG5YH_Zg3V60s8rGKrGKuqPeWgbRHhUbYnsd12Hixoa8eQDY1qBPhf5-Mx8UYQWTUbC-6PXkfO8lOs5C/s320/maltego_general.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Cada color tiene un significado que se puede detectar
fácilmente al mirar el cuadro principal:<br />
</div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYiP0_IOjnsCz59fg27FFMYqPXQRPt0ySHw52CXlh1oeOyDAvjRcSJlq_X6MUa3LRGfC71xVjWbSmy3GXsEV_pL1USEdoCIa6p07-Ky-Z4TRUV5VdfVQtSyYxr55lgnz5CMw7XH5rQQC5/s1600/Maltego_cosas_colores.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYiP0_IOjnsCz59fg27FFMYqPXQRPt0ySHw52CXlh1oeOyDAvjRcSJlq_X6MUa3LRGfC71xVjWbSmy3GXsEV_pL1USEdoCIa6p07-Ky-Z4TRUV5VdfVQtSyYxr55lgnz5CMw7XH5rQQC5/s320/Maltego_cosas_colores.jpg" width="320" /></a></div>
<br /></div>
<div class="MsoNormal">
Por ejemplo podemos identificar los siguiente colores:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="color: #674ea7;">Morado</span></b> = Dominios</div>
<div class="MsoNormal">
<b><span style="color: cyan;">Turquesa </span></b>= Teléfonos</div>
<div class="MsoNormal">
<b style="color: #c27ba0;">Rosa claro</b> = Rangos de red</div>
<div class="MsoNormal">
<b><span style="color: #783f04;">Marrón</span></b> = DNSs</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Una vez identificado todo, observamos que tenemos un dominio
muy grande, pero Maltego nos da la oportunidad de revisar por tipo, vamos a la
pestaña “Investigate” -> desplegamos <span style="mso-spacerun: yes;"> </span>“Select
by Type” y por ejemplo escogemos “Netblock” , nos llevará directamente a los
rangos que haya encontrado anteriormente.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Esto nos puede servir para búsquedas enormes, ya que nos da
la opción de detectar partes de la búsqueda con 2 clicks.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Aparte de mostrarnos toda la información que encuentre en la
red a partir de nuestra búsqueda, si observamos algo de nuestro interés, no
tenemos por que abrir una nueva pestaña, simplemente podemos clickar sobre el
elemento en cuestión y hacer un Run Transform para que nos de mas información
sobre ese elemento específco.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1hVfUFbiJ94AQI80Jq57TmRERa_rubozGa9-LqvmF04-4bYFI6Dq7GEx7LAfe8glY63EYcOOIP6rXgbFKyFjEiMr09GyU0_iEQDRA-k-BsZvwfdqeEtHfPyasMZ9SH9As861ML0BR-aSa/s1600/Maltego_busqueda_busqueda.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1hVfUFbiJ94AQI80Jq57TmRERa_rubozGa9-LqvmF04-4bYFI6Dq7GEx7LAfe8glY63EYcOOIP6rXgbFKyFjEiMr09GyU0_iEQDRA-k-BsZvwfdqeEtHfPyasMZ9SH9As861ML0BR-aSa/s320/Maltego_busqueda_busqueda.jpg" width="320" /></a> </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Esta búsqueda nos la mostrará aparte y hará que el diagrama
se agrande.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX-lz2cl5sx7xFkd7UTqu5CcknlU_UIJb8FnwlsPx4rcexJz4uo_-n4LjFDEEr1oTshIizIPp8HSw8lTKeLxUAoCaMywsTNx4Odu3Vr2naOf0LpNjly9adIaQLOXWibJr_tXZqu2lccP8R/s1600/maltego_busqueda_mas.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="291" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX-lz2cl5sx7xFkd7UTqu5CcknlU_UIJb8FnwlsPx4rcexJz4uo_-n4LjFDEEr1oTshIizIPp8HSw8lTKeLxUAoCaMywsTNx4Odu3Vr2naOf0LpNjly9adIaQLOXWibJr_tXZqu2lccP8R/s320/maltego_busqueda_mas.jpg" width="320" /></a> </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Como podéis ver, Maltego nos puede mostrar mucha información
sobre cualquier cosa que queramos, en mi caso, siempre he hecho “All Transforms”
pero si vais a los desplegables, se puede reducir mucho la búsqueda a cosas que
nos interesen mas.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
También podréis encontrar números de teléfono, direcciones de correo, documentos, etc... y como os comento, a través de esta información que encontréis podréis ir navegando y buscando y afinando más y más.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Os recuerdo, que como dije al principio, es posible que la
versión “Comunity” nos de algunos resultados escasos o que no tienen nada que
ver con lo que buscamos, en ese punto, tendremos que ser nosotros los que
afinemos la información que nos han dado.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Bueno, pues he decidido finalizar mi pelea con Maltego, ya que
a partir de aquí es simplemente ir probando diferentes tipos e ir viendo los
resultados.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Ahora me tendré que buscar otra aplicación con la que
pelearme, ¿alguna preferencia?.</div>
<div class="MsoNormal">
Por cierto…hoy he ganado yo, que me he manejado mucho mejor
con Maltego XD.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Por último, os dejo los links de Paterva (los creadores de
Maltego) por si queréis saber mas:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Paterva : <a href="http://www.paterva.com/web5/">http://www.paterva.com/web5/</a></div>
<div class="MsoNormal">
Documentación: <a href="http://www.paterva.com/web5/documentation/overview.php">http://www.paterva.com/web5/documentation/overview.php</a></div>
<div class="MsoNormal">
Blog: <a href="http://maltego.blogspot.com.es/">http://maltego.blogspot.com.es/</a>
</div>
<div class="MsoNormal">
Descargas: <a href="http://www.paterva.com/web5/client/download.php">http://www.paterva.com/web5/client/download.php</a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
----------------------------------------------------------------</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="http://monimandarina.blogspot.com.es/2012/08/maltego-y-yo-la-paliza.html" target="_blank">Maltego y yo, la paliza.</a> (primera parte)</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="http://monimandarina.blogspot.com.es/2012/08/maltego-y-yo-la-paliza-segunda-parte.html" target="_blank">Maltego y yo, la paliza - Segunda parte</a></div>
<div class="MsoNormal">
<br />
<br />
PD: Ya os dejo que me hagáis preguntas...y si no tengo ni idea, lo busco :D</div>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com1tag:blogger.com,1999:blog-1033908114200717500.post-52735639254701021632012-08-10T11:24:00.003+02:002012-08-11T13:02:28.491+02:00Extender disco de un CentOS sobre Hyper-V.Buenas:<br />
<br />
En mi pelea con GIT, decidí instalárlo ayer en mi casa con Virtual PC, debido a que no tengo mucho espacio, opté por ponerle un disco dinámico de 17 GB aproximadamente, al finalizar el GITy ver que funcionaba, los 2GB que ocupaban los guarde en un USB y ale, al curro.<br />
<br />
Ya una vez aquí, los formatos de Virtual PC son perfectamente compatibles con Hyper-v (como no!), así que creé una máquina nueva y le puse este disco; terminada esta parte, tenía que darle mas tamaño al disco, así que después de pegarme con la tarjeta de red y ya dejarla configuradita, desde el mismo Hyper-V, extendí el disco y la máquina se levanto correctamente.<br />
<br />
Ahora bien, hacía un fdisk -l y me mostraba una partición extraña que no podía montar ni hacer nada de nada.....después de darle vueltas y usar el Gparted (nunca me gustó esta herramienta y me sigue singustar), no conseguí hacer las cosas bien, también culpa mía que no le puse el formato adecuado, así que, después de bucar, encontré "EL POST" con todo lo que necesitaba:<br />
<br />
<a href="http://www.pedroventura.com/linux/anadir-y-dar-formato-a-un-nuevo-disco-duro-en-linux/">http://www.pedroventura.com/linux/anadir-y-dar-formato-a-un-nuevo-disco-duro-en-linux/</a><br />
<br />
Os resumo los comandos a usar para tenerlos a mano siempre:<br />
<br />
Primero listamos todos los discos duros que ha reconocido el sistema operativo con<br />
<div class="syntaxhighlighter plain" id="highlighter_860916">
<div class="bar ">
<div class="toolbar">
</div>
</div>
<div class="lines">
<div class="line alt1">
<table><tbody>
<tr><td class="number"></td><td class="content"><code class="plain plain">/sbin/fdisk -l</code></td></tr>
</tbody></table>
</div>
</div>
</div>
<div class="syntaxhighlighter plain" id="highlighter_730431">
<div class="lines">
<div class="line alt1">
<table><tbody>
<tr><td class="number"><code></code></td><td class="content"><code class="plain plain">/sbin/mkfs.ext3 /dev/sda1</code></td></tr>
</tbody></table>
</div>
</div>
</div>
Hemos formateado el disco o particón que deseemos como ext3; ahora creamos un directorio donde montar la partición, y la montamos.<br />
<br />
<div class="syntaxhighlighter plain" id="highlighter_154066">
<div class="lines">
<div class="line alt1">
<table><tbody>
<tr><td class="number"><code></code></td><td class="content"><code class="plain plain">mkdir /media/almacen</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="number"><code></code></td><td class="content"><code class="plain plain">mount /dev/sda1 /media/almacen/</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
Lo configuramos en el /etc/fstab para que se quede permanente:</div>
<div class="line alt2">
</div>
</div>
</div>
<div class="syntaxhighlighter plain" id="highlighter_315935">
<div class="lines">
<div class="line alt1">
<table><tbody>
<tr><td class="number"><code></code></td><td class="content"><code class="plain plain">vi /etc/fstab</code></td></tr>
</tbody></table>
</div>
</div>
</div>
Al final del fichero añadimos el punto de montaje para hacerlo permanente<br />
<div class="syntaxhighlighter plain" id="highlighter_79025">
<div class="bar show">
<div class="toolbar">
</div>
</div>
<div class="lines">
<div class="line alt1">
<table><tbody>
<tr><td class="number"><code></code></td><td class="content"><code class="plain plain">/dev/sda1 /media/almacen ext3 defaults 0 0</code><br />
<br />
<br />
<br />
<code class="plain plain"> </code></td></tr>
</tbody></table>
</div>
</div>
</div>
<br />
Seguí los pasos exactos que indicaban en el blog y funcionó a la primera.<br />
<br />
Con esto, formateé la partición, le puse de tipo ext3 y la monté sin problemas.<br />
<br />
Pues ale! otra chuletilla más!<br />
<br />
Un saludo!!Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-92099084235254389292012-08-09T09:09:00.001+02:002012-08-09T09:09:07.062+02:00GIT y su madre o error de GIT:" does not appear to be a git repository."Pongo ese título por no poner nada mas gordo...<br />
<br />
por dios, que infierno de aplicación...que sí que sí...que es distribuido y que es mejor....<br />
<br />
Pero habéis visto esos comandos 0 intuitivos.....<br />
<br />
<br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt;">
<strong><em><span style="font-family: "Times New Roman","serif"; font-size: 12pt; mso-ansi-language: ES; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-TRAD;"># git </span><span style="color: #3281a2; font-family: "Helvetica","sans-serif"; font-size: 12pt; mso-ansi-language: ES; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-TRAD;">init</span></em></strong><span style="font-family: "Times New Roman","serif"; font-size: 12pt; mso-ansi-language: ES; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-TRAD;"><br /><strong><em>
# echo “Una breve descripcion del proyecto” > .git/description<br />
# git </em></strong></span><span style="color: #3281a2; font-family: "Helvetica","sans-serif"; font-size: 12pt; mso-ansi-language: ES; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-TRAD;"><strong><em>config</em></strong></span><span style="font-family: "Times New Roman","serif"; font-size: 12pt; mso-ansi-language: ES; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: ES-TRAD;"><strong><em> –global user.name “Tu
nombre”<br />
# git config –global user.email “tu@correo.com”<br />
# git commit -a<o:p></o:p></em></strong></span></div>
<br />
<br />
venga hombre!! Prefiero Subversion!! que no que no.....que no me gusta.... esta va a ser la única herramienta que no voy a explicar su instalación....os leéis la guía, que hay cientos en la web....lo que si voy a hacer, es poner en castellano un fallo bastante común y que sólo he encontrado respuesta en inglés....vamos, que me voy a poner una chuletilla de esas mías, por si tengo que voler a instalar esto, que preveeo que sí ¬¬<br />
<br />
Bueno, una vez has terminado de instalar tu git...está todo preparado y optas por clonarte un repositorio de prueba en tu disco....y plas!!! toma error:<br />
<br />
<strong><em>#git clone [usuario]@[IP]:gitolite-admin.git</em></strong><br />
<a href="mailto:git@IP's"><strong><em>git@IP's</em></strong></a><strong><em> password: *<br /> fatal: 'gitosis-admin.git' does not appear to be a git repository<br /> fatal: The remote end hung up unexpectedly</em></strong><br />
<br />
Pero si la password está bien....que "daemons" pasa?<br />
<br />
Hay varias soluciones...pero la que a mi me ha servido es la mas sencilla.<br />
<br />
Resulta, que esto es parecido a un SCP, por lo que hay que poner la ruta entera de dónde se encuentra el repositorio, de esta forma:<br />
<br />
<br />
<strong><em>#git clone [usuario]@[IP]:/home/git/repositories/gitolite-admin.git</em></strong><br />
<br />
y ale!! repo clonado.<br />
<br />
Esto probablemente se pueda eliminar editando algún fichero y dándole la ruta por defecto, por lo que poniendo el nombre del repo te lo podrá detectar y clonar, pero de momento esa parte no se como va..... si lo descubro también os lo pongo.<br />
<br />
Un saludo.Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com0tag:blogger.com,1999:blog-1033908114200717500.post-54603651676150670292012-08-04T10:18:00.002+02:002012-08-11T13:01:38.179+02:00Maltego y yo, la paliza.<br />
<div class="MsoNormal">
Bueno, después de mucho tiempo de ausencia, he vuelto :D
para plasmaros una feroz batalla entre Maltego y yo.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Algunos os preguntaréis, ¿qué es Maltego?, digamos que es
una aplicación de minería de datos, es decir, le das una información (un
nombre, un teléfono, un dominio) y te buscará cualquier dato que te pueda
encontrar en la red.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Actualmente, hay una versión de pago y una “comunity”, así
que ojo! Cuando intentéis descargárosla revisad bien la que os descargáis y no
hagáis como yo, que me instalé la de pago y estaba flipando con las cosas que
me pedía, hasta que me di cuenta, aquí la aplicación me iba ganando y eso que
acababa de empezar.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
¿Para que puede servir esta herramienta? Como soy buena,
solo os voy a contar lo de ser buena, no lo malo, no vaya a ser que anime a
alguien a hacer cosas que no sdebe XD; en realidad es que no sé sacarle un
uso malvado ( que nooo…que es bromaaa…….que soy mala y sí que lo seeeeeee).</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Inicialmente, yo lo uso para buscarme en la red, ya que me
gusta tenerme controlada y saber dónde aparece mi nombre, he de decir que mi
nombre real no sale en muchos sitios :D pero luego mi Madrikeka lo tengo metido
por todos lados.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Sigamos con lo interesante que me lío y os cuento mi vida.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
La diferencia entre la de pago y la comunity, es que la
de pago es mucho más fina y te mete menos “basura” en los resultados, aparte de
que creo que tiene otros métodos de búsqueda más efectivos.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Ya sabiendo estas cosillas, el siguiente paso es instalar la
aplicación, esto no es complicado, pero la activación si que nos puede liar un
poco ya que hay que registrarse en la web, meter un código, etc..</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Ya tenemos todo, pues abramos la aplicación, lo primero que
nos dice es que si queremos una búsqueda privada o pública, la primera,
cualquier dato que busquemos no se incluirá en ningún lado, sin embargo la
búsqueda pública digamos que se une a una bbdd de Maltego dónde, por ejemplo,
si alguien más se interesado con lo que hemos buscado nos aparecerá (finalmente se me ha olvidado como ver eso XD).</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Os recomiendo que uséis la privada al principio, yo voy a
usar la pública para catarla y enseñároslo.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Después de escoger, tendréis que logaros, tela con el
captcha, las que te lía, por aquí llevamos un 0-3 ganando Maltego.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Hoy vamos a hacer algo sencillo y rápido para ver los
primeros resultados, así que pincharemos en el botón de new, o en el botón
gigante de Maltego y después en New y se nos abrirá una pantalla llamada New
graph,, otro día os mostraré los botones y las diferentes zonas, hoy voy a
enseñar algunos resultados.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiOSTgZSWGR0Xtl2hcqkoAInQUG_QnP2QlEa-kCNuCeMqiwMT9mhyphenhyphenlqbncZ1W6Z6rA0UF21749ikSpAbGXJJuWVrha9A0xY610qgZZbZndE6RS6rcTR0wPBYwXnzckqfexEYYdomxPp2CX/s1600/new_project.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiOSTgZSWGR0Xtl2hcqkoAInQUG_QnP2QlEa-kCNuCeMqiwMT9mhyphenhyphenlqbncZ1W6Z6rA0UF21749ikSpAbGXJJuWVrha9A0xY610qgZZbZndE6RS6rcTR0wPBYwXnzckqfexEYYdomxPp2CX/s320/new_project.jpg" width="320" /></a> </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Como veis en el pantallazo, a la izquierda tenemos muchas
opciones diferentes para escoger, es a partir de aquí donde definiremos el dato
del que queremos sacar información.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFeczIIVnXLDbtbh1LJr6tyr9ndpa3BG5dzcA6_D1q79gYTv8ZQHcBJGV3Pr1TL75siXzMOnAssxOt2Y64Sw_9dXB1ki1sGaQmWYdR95yvwSzo4Z-OaM996FsHwHo63b9ggS4pfoWtgMv/s1600/new_graph.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFeczIIVnXLDbtbh1LJr6tyr9ndpa3BG5dzcA6_D1q79gYTv8ZQHcBJGV3Pr1TL75siXzMOnAssxOt2Y64Sw_9dXB1ki1sGaQmWYdR95yvwSzo4Z-OaM996FsHwHo63b9ggS4pfoWtgMv/s320/new_graph.jpg" width="320" /></a> </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Para algo rápido, vamos a escoger el alias, pincharemos en
dicho alias y lo arrastraremos a la “zona de campo” XD.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Haremos doble click sobre el icono y pondremos el alias que
queramos, en este caso “madrikeka”, pero sin comillas, eh? Que nos conocemos.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNlwF2qSzP3LNrPdOtnsFPLaovADeGW-UuvTm4EfziREIsQY4xMcx6uBWvytLLJLQLdAN8vVXCZo9sLKnitxEndPGdvF0-WfAR5L6RWndm7oyw4MB-69ieyl7IjFKps6MMbSZ9Dkf84j6n/s1600/alias.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="289" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNlwF2qSzP3LNrPdOtnsFPLaovADeGW-UuvTm4EfziREIsQY4xMcx6uBWvytLLJLQLdAN8vVXCZo9sLKnitxEndPGdvF0-WfAR5L6RWndm7oyw4MB-69ieyl7IjFKps6MMbSZ9Dkf84j6n/s320/alias.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Cerramos la pantalla, hacemos click derecho sobre nuestro
alias y le damos a “run transforms” y <span style="mso-spacerun: yes;"> </span>“all
transforms”.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcSYkbM-1hgCEISA2cLmB9KUOyflq1r_oGBmKji5nO3DONo_azPL6XXuXRr-Ld5FtTf-yXa3FB2zdbpr1tk2YTyx6vyO9JUjWkq_tz7lZlYZEL7eXkXdC5U-JOqPQjP5YJGPHR7mIpkSeF/s1600/run_all_transforms.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="287" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcSYkbM-1hgCEISA2cLmB9KUOyflq1r_oGBmKji5nO3DONo_azPL6XXuXRr-Ld5FtTf-yXa3FB2zdbpr1tk2YTyx6vyO9JUjWkq_tz7lZlYZEL7eXkXdC5U-JOqPQjP5YJGPHR7mIpkSeF/s320/run_all_transforms.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Nos avisará de que al pedir un “all transforms” puede tardar
un rato, pero como hoy es básico, pues le diremos que si a todo!!! :D</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Bueno, si habéis probado con “madrikeka” veréis que casi no
os ha sacado nada XD, veis como soy mala? Ahora si vais “all transforms” que
tiene un desplegable, podréis ver dónde busca, como solo tengo twitter y no
aparezco en pastebin, el resultado es muy pobre, pero para mí positivo:D</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv0Tg5rZ_48ycxP3vIMGGl3JMDXbsNGENrbVX5Aq_1dh5A7Nm6y8D_y2B7kRiwaaOI34NlaKK5oD1O72ldl2ObtVrkzKQ5k9sEDTqSX_RCrhVUkVY9Db8IIMhwqqwssxHFwNInfO_AMHxE/s1600/all_transforms.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="196" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv0Tg5rZ_48ycxP3vIMGGl3JMDXbsNGENrbVX5Aq_1dh5A7Nm6y8D_y2B7kRiwaaOI34NlaKK5oD1O72ldl2ObtVrkzKQ5k9sEDTqSX_RCrhVUkVY9Db8IIMhwqqwssxHFwNInfO_AMHxE/s320/all_transforms.jpg" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Ahora vamos a hacer lo mismo, pero en vez de el Alias, vamos
a escoger “person” y vamos a realizar el mismo paso hasta “all transforms”. Nos
vuelve a avisar de que tardará un rato y oh! Sorpresa, algo que rellenar.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Si tenéis mas datos sobre la persona a buscar, este sería el
sitio para rellenarlo, ya que os pide cosas como un website, un teléfono, si
solamente os muestra el primer resultado de facebook, etc..</div>
<div class="MsoNormal">
Salvo el apartado de facebook, que hay que poner “Yes” o “No”,
lo demás os lo podéis saltar poniendo un espacio en cada casilla.</div>
<div class="MsoNormal">
Una vez plasmados los espacios, le damos a “Run!” y a
esperar….. </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Enseguida nos dará la información de la siguiente forma.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioTH4Q2lVqRsDjSZs-nLjmi0UMnozccen2N1wzh9Iq6hnXvPfoMNz2FndneTT9TORgW4oFxaP5gCNWa8C-6XbqzS7kxSyKSIqFh2Ft2lLqFIVbrPC_fEwujFJsATgLUEKR7yU655Oq0IdH/s1600/resultado.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioTH4Q2lVqRsDjSZs-nLjmi0UMnozccen2N1wzh9Iq6hnXvPfoMNz2FndneTT9TORgW4oFxaP5gCNWa8C-6XbqzS7kxSyKSIqFh2Ft2lLqFIVbrPC_fEwujFJsATgLUEKR7yU655Oq0IdH/s320/resultado.jpg" width="320" /></a> </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
En la parte de arriba del gráfico, hay iconos para que
podamos ponerlo de la forma que más nos guste.</div>
<div class="MsoNormal">
Ahora es cuando nos toca pensar, como me he buscado a mí
misma, veo que faltan muchas cosas, debería aparecer en muchos más sitios, pero
aparentemente solo salen los sitios en los que comento o escribo desde hace más
tiempo, digo aparentemente por que hay blogs que sigo desde hace un par de años
y no sale, cachis, ya vamos 0-4, joer, con meterle uno me conformaba, seguiré
investigando.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Pues nada, después de los 4 golazos por la escuadra que me
ha metido Maltego….lo dejo por hoy, al final me ha salido un tochopost!!</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Y prepárense para la final, porque la voy a tener y la voy a
ganar!</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Un saludo a todos!!</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
PD: no me hagáis pregunta sobre este tema que todavía estoy aprendiendo XD, es bromaaa.....¬¬<br />
<br />
<br />
--------------------------------------------------------------------------<br />
<br />
<div class="MsoNormal">
<a href="http://monimandarina.blogspot.com.es/2012/08/maltego-y-yo-la-paliza.html" target="_blank">Maltego y yo, la paliza.</a> (primera parte)</div>
<div class="MsoNormal">
<br /></div>
<a href="http://monimandarina.blogspot.com.es/2012/08/maltego-y-yo-la-paliza-segunda-parte.html" target="_blank">Maltego y yo, la paliza - Segunda parte</a></div>Madrikekahttp://www.blogger.com/profile/07760449096501864399noreply@blogger.com7