bjorn.now

October 1, 2025

All I got up to this day (as far as you know)

2 posts on this day

Use curl -k --resolve bjorn.now:443:127.0.0.1 https://bjorn.now when testing an HTTPS site locally using Caddy, instead of curl -k -H "Host: bjorn.now" https://localhost, because Caddy relies on SNI and refuses the connection if it doesn’t know which host you’re trying to connect to.

[… more]
til 2 min read #how-to, #linux

Use usermod -l newuser -d /home/newuser -m olduser when renaming a user account, because it’ll update all relevant system files and move the home folder in one go.

Then groupmod -n newgroup oldgroup if you need to rename the group.

[… more]
til 1 min read #linux