Category Archives: Linux

Ubuntu giving me a headache

If we consider the scenario where you want to grant only remote access to an account (e.g. user) and know you will only do this via SSH and using key-based

Posted in /dev/null, EN, Linux | Leave a comment

Wow, GCC is pretty patronizing …

Trying to compile the following code in GCC yields an error: #define __dbgprintf /##/ The error reads error: pasting “/” and “/” does not give a valid preprocessing token. As far as C99 is concerned, this should be perfectly valid … Continue reading

Posted in /dev/null, EN, Linux, Programming | Comments Off on Wow, GCC is pretty patronizing …

“etch-and-a-half”, Debian Etch R4 released

If you can, use apt-get update && apt-get dist-upgrade in some kind of sandbox (“lab-conditions”). For me everything went smooth. // Oliver

Posted in EN, IT Security, Linux, Software | 1 Comment

Getting rid of SSH brute forcers

I am usually using different methods in a combination. In the sshd_config I declare AllowGroups with the group ssh-users. This group does never contain root. Furthermore I set PasswordAuthentication no and generally authenticate only by key. Root login is of … Continue reading

Posted in EN, IT Security, Linux | Leave a comment

Version-controlled edit via Bash script (Debian)

As I am currently setting up a new server, I thought it would be a good idea to keep most of the configuration files (e.g. /etc) under version control. RCS comes in handy to achieve just that, but laziness requires … Continue reading

Posted in EN, Linux, Programming, Software | Leave a comment

Bash’s your friend

Oh, and a hint for everyone who is still greping through the bash history to find the command he used … well, way back. Try Ctrl+R 😉 Yeah, hit Ctrl+R when on the console and enter the first few characters … Continue reading

Posted in EN, Linux, Programming, Software | Leave a comment

Bash bash bash

Yes, indeed bash has become my favorite shell. Not only is it so versatile, but some of those advanced features make it best-suited for almost any task you’ll ever face on a console. And if it is not enough for … Continue reading

Posted in EN, Linux, Programming, Software | 3 Comments

Let’s pimp ‘newvserver’

newvserver is a truly convenient script to create a new vserver and have it largely preconfigured. Too sad it lacks the necessary flexibility … you think? Think twice. Bash gives newvserver the flexibility that you need! Alright, so you figured … Continue reading

Posted in /dev/null, EN, Linux, Programming | Leave a comment