One thing that disturbed me a lot in Mac OSX was the slow terminal input. Before I decided to switch to Mac OSX I was exclusively using Gentoo Linux. For those of you who know Gentoo Linux will confirm that it’s impossible to use it without having to use a terminal. Besides that I always …
Read more »Today I wanted to connect to my server via ssh, I made a typo and the result was amazing Instead of writing: $ ssh root@10.0.0.1 I typed: $ ssh root@10.0.01 And it worked! It connected successfully to the server. I thought this makes sense because even though the point is missing, the ip is still …
Read more »Starting the end of last week I started noticing several attacks on my servers. I asked around and it turns out I was not the only one… Several small businesses in Switzerland had to suffer attacks on their infrastructures, causing a lot of troubles (server down, ISP down, headaches, …) Anyhow since our servers are …
Read more »Imagine you just where able to gain a shell login, you certainly don’t want the usual user that you managed to log in his account. The first thing you want to do is to stop writing the .bash_history: [codesyntax lang="bash"] $ export HISTFILE=/dev/null [/codesyntax] Now open your .bash_history with your favorite editor and delete the …
Read more »More than a recover this is a root password reset. To be able to execute all these commands you need a shell root access on the box you are trying to reset. First stop the mysql deamon: [codesyntax lang="bash"] $ /etc/init.d/mysql stop # the gentle way $ killall -9 mysqld_safe && killall -9 mysqld # …
Read more »
