Yubikey for sudo 2 Factor Auth

Some days ago I thought about testing two factor authentication (2FA) with Yubikey. Yubikey is a hardware security key which can do a lot.

How to test 2FA on a local machine if you don’t want to log you out or destroy anything important? I decided to implement 2FA for sudo command with yubikeys U2F feature. Be aware: This does not work for ssh.

Read more…

handle kvm static ip adresses

I did a lot of work with libvirt and kvm and for some hosts I wanted to have a fixed IP address but not configured on the host itself. I wanted to get it from dhcp.

Read more…

Minikube increase disk size

I did some more research and development with kubernetes and minikube. During some tests where the diskspace of one node got bigger than 16GB and I saw a message about DiskPressure in the logs, I figured out that minikube has a default disksize of something around 16GB.

But how should I test the kubernetes deployments with that small amount of diskspace?

Read more…