[Howto] Run programs as non-root user on privileged ports via Systemd

Running programs as a non-root user is must in security sensitive environments. However, these programs sometimes need to publish their service on privileged ports like port 80 – which cannot be used by local users. Systemd offers a simple way to solve this problem. Background Running services as non-root users is a quite obvious: if … Continue reading [Howto] Run programs as non-root user on privileged ports via Systemd

[Short Tip] Workaround MIT-SHM error when starting QT/KDE apps with SUDO

Starting GUI programs as root usually is not a problem. In worst case, sudo inside a terminal should do the trick. However, recently I had to start a QT application as sudo from within GNOME. It was the yubikey configuration GUI, a third party tool thus not part of any desktop environment. Executing the app … Continue reading [Short Tip] Workaround MIT-SHM error when starting QT/KDE apps with SUDO