Aguante Stallman
Yo y mis pares estamos acá
para dar lo que hay que dar
por sentimiento locura y pasión
se nos ve de negro vestidos.
Soy debianero por propia elección
no me rompa las bolas oficial
a fondo blanco estoy festejando
lo mejor del software en libertad
Vamos muchachos una vez más
cantemos todos, así escuchan bien
los trajeaditos de Microso'
los slackeros y los del Red Hat!
Soy debianero por propia elección
no me rompa las bolas oficial
a fondo blanco estoy festejando
lo mejor del software en libertad
A ver muchachos una vez más
cantemos todos, así escuchan bien
los trajeaditos de Microso'
los slackeros y los del gentoo
Aguante Stallman
Aguante Stallman
A ver muchachos una vez más
cantemos todos, así escuchan bien
los trajeaditos que venden guindous
los slackeros y los del ututo!
(Cancion: Aguante Bonavena - Letras y musica originales por R. Iorio / Almafuerte)
Tuesday, April 22, 2008
Aguante Stallman
Wednesday, April 16, 2008
Manejando Servicios en Fedora
(O como traicionar a Debian a la fuerza)
Como sysadmin, siempre nos tenemos que habituar a algun sistema, que si bien esta dentro de los UNIX-Like, son un tanto diferentes en la disposicion de sus configuraciones, y de las herramientas para modificarlas
Este es un howto bastante basico sobre como configurar los servicios a correr en los diferentes runlevels, a la vez que se enumeran los servicios mas comunes que se encuentran.
Para manejar la activacion de servicios de acuerdo al runlevel que se invoque, se utiliza una herramienta llamada chkconfig, que es algo asi como un update-rc.d de Debian, salvo que tiene operaciones de listado de servicios por runlevel.
La manera de invocarlo es:
#/sbin/chkconfig --level [123456S]Para listar que servicios tiene cada runlevel:[on|off]
#/sbin/chkconfig --list [servicio] <-- Se puede agregar el nombre del servicio para ver solamente el estado de ese servicio
Como ven, es simple.
Por otra parte, podemos ver el estado de un servicio ya corriendo, reiniciarlo, pararlo, o iniciarlo a piacere con el comando service:
#/sbin/servicePor ejemplo:[start|stop|reload|status] o demas estados si el servicio lo soporta
#/sbin/service crond status
crond (pid 1604) is running...
Ese es todo el misterio que hay en el manejo de servicios en Fedora.
Ahora, los sospechosos de siempre:
acpid
Advance Configuration and Power Interface daemon - El demonio que maneja las interfaces de energia (como el boton de encendido, el sleep, la tapa de las laptops)
anacron, atd, cron
Los schedulers favoritos de todos! Que hariamos sin estos bebes!?
apmd
Advanced Power Management daemon - Si tenemos una maquina vieja, o una laptop medio incompatible, usamos este servicio en vez de acpid para el power management
autofs
Monta automaticamente los filesystems extraibles (como pendrives USB, etc)
avahi-*
Detecta servicios y dispositivos de red. Es una implementacion de zeroconf
bluetooth
Maneja los dispositivos bluetooth en sistemas que lo tengan, generalmente desactivado
cpuspeed
Para hacer throttling del CPU. Las desktop generalmente no usan esto, asi que podemos sacarlo :P
cupsd
Queres imprimir? "Tal vez" el servicio Common UNIX Printing System te ayude... No se... :P
firstboot
Realiza tareas pertinentes al primer booteo de Fedora, luego de esa instancia puede ser desactivado
iptables
El Firewall por excelencia (y por defecto!) de Linux. Se recomienda dejarlo encendido (aunque no tenga ninguna regla seteada)
kudzu
Este servicio se encarga de hacer "probes" de hardware. Algo asi como modprobe de Debian.
messagebus
Servicio de comunicacion entre procesos. Es un componente critico del sistema
smbd
Demonio de SAMBA
sshd
Nuestro amigo el Secure Shell
xinetd
El Superservidor! (Si, parece un superheroe) :P
C'est tout sobre servicios en Fedora.
Espero que les sirva de algo
Thursday, April 10, 2008
RSA + SSH
No mas dolor de OGT al loguearse remotamente
Situacion:
Lunes, 9 a.m.
Locacion:
Mi casa - Living
Actores:
-Joven desgarbado y super dormido con un cafe en la mano
-Laptop corriendo Linux ;). A partir de ahora Lappi
Escena I
Abre el telon...
Jefa de Joven Degarbado: Che! Por favor! Fijate rapido que parece que la base de datos del webserver esta caida, me tira un error que pide correr 'mysqladmin flush-hosts'. Podes solucionarlo rapido?
Joven Desgarbado: Ok, ya me estoy logueando y lo miro.
Entonces nuestro joven se quiere loguear por ssh...
#ssh root@ni_en_pedo_voy_a_poner_la_IP_aca
Password:
Ete aqui, que con el sueño que tenia, ponia cualquier cosa. Y el joven no se podia loguear.
...Bueno, en realidad, despues de intentar como 5 veces pudo...
Bueno, al final, el pibe penso (cosa rara en el): "Pucha! Quiero loguearme sin tener que poner la *&@# clave..."
Luego de mucho buscar se acordo de las claves RSA... Esas claves que usaba en su trabajo anterior para loguearse sin problemas, sin claves...
Y asi puso manos a la obra...
Escena II
Primero, comenzo creando la clave RSA para su usuario:
#ssh-keygen -t rsa
Generating public/private rsa key pair
Enter file in which to save the key (/home/usuario/.ssh/):
Enter Passphrase (empty for no passphrase):(Sin passfrase)
Enter same passphrase again:(No pusimos ninguna, asi que lo salteamos)
Your identification has been saved in /home/usuario/.ssh/
Your public key has been saved in /home/usuario/.ssh/
The key fingerprint is: xx:xx:xx... (Sarasa RSA)
Una vez hecho esto, cargo la clave al servidor remoto:
#ssh-copy-id -i /home/usuario/id_rsa.pub root@IP_del_servidor
Listo... Peeeeeeeero... Se olvido de chequear la config del sshd en el servidor...
Simplificamos esto diciendo que edito el archivo /etc/ssh/sshd_config y modifico estas variables:
RSAAuthentication yes
PubkeyAuthentication yes
Se reinicia el demonio y voila!
C'est tout, ya tenemos login automatico por ssh.
Ya fue (Cambio de Idioma)
A partir de ahora, empiezo a escribir los articulos en español.
Ya me parecia demasiado ñoño escribir en ingles, a parte de que mi ingles es cuasi-horrendo.
Tuesday, April 08, 2008
Gnu Stack Overflow
GNU-Overflow
The recursive acronym "GNU's Not Unix" harbors a stack overflow bug that
can cause the English language to crash and may allow arbitrary linguistic
commands to be executed, according to a message posted on gnu.acronym.bug
this morning. All sites running GNU software are urged to apply a
temporary patch which changes the expansion of the acronym to "GNU Needs
Users", until a permanent patch is avaliable. GNU project founder Richard
M. Stallman is currently hunting the error in the acronym he created over
a decade ago.
"Linguistic bugs are notoriously difficult to track down," Stallman told
segfault.org via email. "The capacity of the stack depends on the memory
of the person reading the buggy text. In addition, there is not yet any
English interface to gdb, which means searching manually through coredumps
to find the problem."
Most people experience the stack overflow at around 600 expansions of the
acronym. In practice, few people have cause to carry the expansion this
far, so the main concern lies with the security risk posed by the bug.
Although no exploit has yet been discovered, a malicious user could
theoretically embed commands into the same section of text as the acronym
expansion, allowing them to change the syntax of the language, redefine
words, and create new figures of speech with arbitrary meanings.
Many on the net saw the bug as a chance to reopen old holy wars. "The
stack problems that are endemic in the computer industry today are a
direct result of the widespread adoption of English as the language of
choice," said one Dothead. "English is a fine tool for low-level
descriptions and expository writing, but it offers too many
inconsistencies and is far too unstable to use in production environments.
It's time to move to languages like Esperanto that feature built-in stack
protection." When it was pointed out that he had written his comment in
English, the poster went into an incoherent rant, finishing with "La cina
industrio, kun fama milijara tradicio, pli kaj pli largskale produktas
ankau komputilon! Sed kiel aspekta la cina komputil-merkato el la vidpunko
de la aplikanto? Mi provos respondi al tiu demando lau personaj spertoj en
la plej granda cina urbo, Sanhajo!"
FUD Week magazine was quick to cash in on the incident, as well. "It is
clear that freeware cannot be relied upon to keep the English language
secure," says an online editorial. "We suggest that these `computer
hippies` get their acts together before attempting hippopotamus nap delta
foley snurk tin possibility."
Meanwhile, an anxious public waits for the restoration of the GNU acronym.
Until the bug is fixed, we urge you to download the temporary patch from
your nearest mirror site and keep in mind that this process of continuous
revision is what has made both free software and human language into
forces to be reckoned with.
Monday, April 07, 2008
Guantanamero
Me odiaba mi primo, por celos de mi carrera (bis)
Lo arrestaron y dijo: “que terrorista yo era”.
Guantamero, soy preso guantamenero (bis)
Ha decidido el imperio, guardarme por siempre preso (bis)
La cuestión es hacerlo, con o sin falso proceso.
Guantamero, soy preso guantamenero (bis)
Cuando me hieren el cuerpo, dicen que no me torturan (bis)
Me dan heridas profundas, de esas que no se curan.
No me permiten que duerma, mi fin es un misterio (bis)
Voy a salir cuando muera, o caiga el gran imperio…
Thursday, April 03, 2008
Thursday, February 28, 2008
Here we are... Again
Well pals, I'm here again, after a long time of silence, the diary is here again.
I hope to post every week something (don't ask what, just post)...
...Maybe something cool, geekie, interesting, boring...
Well, this time I have something for you... a comic...
It's called Tira Ecol. It's about 3 spanish mates; a Debianeer (a Debian User), a Mandrakeer (a Mandrake User), and a... well... a guy that uses Windows (and loves the porno). There's a robot too, where the guys test different OS, and that make the robot behave good, bad, or only make weird things...
I hope that you enjoy it...
See you later!!!
Wednesday, October 11, 2006
Historical Footnote
I found this in the Scripting Guy's site, on Micro$oft. I think that's the best phrase that someone of M$ says...
"...Way back in the mists of time, people not only didn't have cell phones, they didn't even have telephones. (It's true; you can look it up.) To communicate over any sort of distance, people relied on the telegraph. Due to the limitations of the technology and to the costs involved, people also had to resort to using cryptic messages like this: C U 2MAR O. Talk about primitive, huh? Today, of course, you can use your fancy, high-tech digital cell phone to send really cool text messages like this: C U 2MAR O. We've come a long way, baby..."
Nice... Huh???
Tuesday, August 22, 2006
Vin Diesel = Agent 47?!
Ohhh...! My friends! I heard the worst notice in the world of the games.
Do you know who's the Agent 47... Well... If you not, I'll tell you.
The Agent 47 is the protagonist of Hitman, a series of games about a cold blooded, genetically modified, silent assessin.
Well, the guy's of Hollywood have decided that it's time to make a movie about that great game. And they had ruined it, as allways...
They called the bald figure of Vin Diesel as the Hitman. I think "What a f***!?" when i heard this.
You know who's Diesel. A mass of muscules, thing that the 47 guy is not!
I bet that, if some day they will make a Hitman movie, the first man that they will call will be Jason Statham, the guy of Snatch and The Transporter. Well... He's bald, he proof that he can make good movies, and he proof that he can make assessin-like papers to!
Well, I hope that if any day the Hollywood kids make The Hitman 2 Movie, PLEASE DON'T RUIN IT WHIT THE BRAINLESS DIESEL!!!
Thanks
