Category Archives: Linux

Network interfaces on cloned (KVM) VMs

Yesterday I was cloning a few KVM VMs and to my disappointment the clones did not have an eth0 but rather got an eth1 and clones of clones would actually get eth2 and so forth. Because my /etc/network/interfaces referred to … Continue reading

Posted in EN, Linux, Unix and unixoid | Leave a comment

cvsnt [server aborted]: Couldn’t open default trigger library: No such file or directory

To my surprise I noticed CVSNT is now only available for money (and compared with my other development tools for a lot of money, so I’ll stick with Mercurial which comes with plenty of better features for which I would … Continue reading

Posted in EN, Linux, Software, VCS | Tagged , , , , , , | Leave a comment

Argh … must suppress hateful thoughts …

Great, looking for flex any web search is now tainted and will actually return results for Adobe Flex. // Oliver

Posted in EN, Linux, Programming, Unix and unixoid | 2 Comments

ecryptfs and sshd, again

In January I described an issue with ecryptfs and sshd. Now I wanted to get X11 forwarding to work with it, but the problem essentially remains the same. All I got this time was: /usr/bin/X11/xauth: timeout in locking authority file … Continue reading

Posted in EN, IT Security, Linux, Software, Unix and unixoid | Tagged , , , , , | 4 Comments

Not Valgrind, CDPATH

The problem I described just yesterday (here) seems not be to with Valgrind in particular. Today I was trying to build the file(1) utility and mysteriously failed with the same symptoms. So that made me curious. Apparently the cd command … Continue reading

Posted in EN, Linux, Programming, Unix and unixoid | Tagged , , , , , , | Leave a comment

Getting Valgrind to build on Debian 5.0.3

I’ve been trying this already several times over the last three months, but always failed to build the latest Valgrind from sources on my Debian box. At last I had success. The problem appears to be that for some unknown … Continue reading

Posted in EN, Linux, Programming, Unix and unixoid | Tagged , , , | 3 Comments

Annoying use of GNU make

Whenever I download some source code and find that the respective maintainer/author has a Makefile or makefile inside the source tree but requires GNU make specifically I can get really annoyed really fast. Dear maintainer/author: there are literally dozens of … Continue reading

Posted in EN, Linux, Programming, Unix and unixoid | Tagged , | Leave a comment

ecryptfs and sshd …

I just made a discovery on the Ubuntu box I run. After being unable to log into it using SSH and my public key which it refused with a laconic Permission denied (publickey), I tried to dig deeper. So obviously … Continue reading

Posted in EN, Linux, Unix and unixoid | Tagged , , , | Leave a comment

Lesson learned

Today I was trying to treat an SVN dump file with sed in order to modify a few of the Node-path values. After finding out that GNU sed has no problem with binary files, I went on to formulate the … Continue reading

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

Little changes with big effects …

I’m using screen more and more, but this night I ran into a problem I hadn’t anticipated. I was trying to establish SSH sessions inside “pre-created” windows (using a specific screen profile). Now I wanted to automatically call an initial … Continue reading

Posted in EN, Linux | Leave a comment

Screen and byobu

So far when using screen I was always using very simple steps and using the simplest features. But given that PuTTY doesn’t feature tabs, it’s pretty cool what you can do with screen. You can either start one or multiple … Continue reading

Posted in EN, Linux, Software | Leave a comment

Nested GNU make files …

Sometimes you want to build potential goals of nested make files, i.e. make files that reside in a different folder. The best method I’ve been able to come up with so far was this one: # Declare some (immediate) constants … Continue reading

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

Slay ’em!

Today I found a highly useful tool called slay. It allows one to kick all processes of a particular user. So if I wanted to kick user joe I’d say: slay joe // Oliver

Posted in EN, Linux | 4 Comments

Maybe helpful for others …

Check out this comment to an old post about the WD MyBook World Edition. Maybe it helps you as well. // Oliver

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

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 authentication, it makes sense to lock the user account for … Continue reading

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 of … Continue reading

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