Oct 16 2008

BOFH: Bastard Operator From Hell

Today we are going to be installing a funny package that allows you to telnet into a linux machine (we are going to be using debian) and gives you a funny reason.

First off we login to the debian machine we are going to use open a terminal window and gain root access. Then type the following command, make sure you have internet because it will be need to download this packages.

apt-get install openbsd-inetd fortunes-bofh-excuses

Then we are going to open the file /etc/inetd.conf in your favorite editor.

vi /etc/inetd.conf

And add the following line at the end of it.

excuse stream tcp nowait root /usr/games/fortune /usr/games/fortune

Then edit the file /etc/services and put in the line

excuse 666/tcp

Then run /etc/init.d/openbsd-inetd start

Now if you run telnet yourserversip 666 your will get your excuse of the day.

Have fun…

Some links BOFH and some More BOFH


Sep 30 2006

Linux Aliases

Here is a list of my current aliases in Linux. Some short cuts I use to make my life easier.

[code lang="perl"] alias cd..=’cd ..’ alias ctar=’tar -czf’ alias en=’su -’ alias etar=’tar -xf’ alias ht=’df -h’ alias l.=’ls -d .* –color=tty’ alias la=’ls -al –color=tty’ alias ll=’ls -l –color=tty’ alias ls=’ls –color=tty’ alias q=’exit’ alias sdriver=’dmesg | grep’ alias ses=’ps auxw | grep’ alias ver=’rpm -qa | grep’ alias vi=’vim’ alias which=’alias | /usr/bin/which –tty-only –read-alias –show-dot –show-tilde’ alias xrar=’rar x’ [/code]

Which ones do you use?


Feb 13 2006

The MSN TV Linux cluster

MSN TV Linux Cluster

We’ve never seen much use for MSN TV (previously known as Web TV), Microsoft’s info appliance for TV-based web surfing. But the street finds its own use for things, so we can’t say we’re too surprised to see that some dude has not only been able to get the box to run Linux, but is actually building a server cluster out of them. The hack does involve some hardware mods, so it’s not necessarily something for casual script kiddies to undertake (and it’s certainly not something any of MSN TV’s target users will ever attempt), but considering you can pick these up on eBay for a song, it could be a pretty cheap way to build your own server farm if you’ve got the chops to make it work.
Via Engadget

Now thats an excellent use of MSN TV boxes :)


Oct 28 2005

Server Books

The term server in the following post is used meaning a LAMP (Linux, Apache, MySQL, PHP) + Mail server configuration. I’ve always wanted to learn the “right” way to setup my own server on a Linux system of course. I know how to install Linux, Apache and PHP and make them work with each other, not very efficient by they do.

What I want is a good book that provides a “how-to” to help me do it the “right” way, and to learn what I don’t know. For example I haven’t manage to add more than one domain to my installation. Different users etc.

I am open to suggestions.


Oct 9 2005

And then there was Linux…

I sat laughing into my notebook until they showed my a PC running Linux. And oh! It was as though the heavens opened and God handed down a client-side OS so beautiful, so graceful, and so elegant that a million Microsoft developers couldn’t have invented it even if they had a hundred years and a thousand crates of Jolt cola. ~ LAN Times