This is a list of posts with category Linux. If you want to get notified about new articles under this category, you can subscribe to the RSS feed for Linux.
The man page says that sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. However most of the sudo use that I've seen/done is really a privilege escalation with switched user being just a consequence of that. Even the famous XKCD 🥪 webcomic shows sudo being used in this way. Most of the time this small difference does not really matter, but sometimes it's really inconvenient.
This is mostly a note I've written for my self so that I can quickly recall how to sudo
when I really only want to do
something without the su
part. Let's have a look at another less popular but sometimes quite a bit more appropriate option.
continue reading (about 7 minutes to read)
Contabo is an EU-based VPS provider with reasonably affordable pricing. However, it does come with some compromises. The billing structure is monthly with a setup fee, making it more suitable for specific workloads. Another limitation is the limited official OS support, specifically the absence of NixOS as an option. Online resources on setting up NixOS on Contabo are scarce and can be clunky or outdated. Here's my approach that's hopefully easy to follow.
continue reading (about 6 minutes to read)
Outside of very specific deployments and industries, serial port on a modern hardware - if present - is usually overlooked and completely ignored. Over the years it became the floppy of external ports. These days one is more likely to see it as an icon representing I/O port than to physically use it.
Which is exactly why I also didn't see it for what it was - a simple, yet elegant solution to my particular problem. Because as it turns out, serial port still has much to offer even in 2023.
continue reading (about 16 minutes to read)
As far as downtimes go, most suck. Then there are some that are more like happy little opportunities to learn something new. When Gitlab in my homelab started returning 500
s, I had no idea how blessed I was. I was at best annoyed.
continue reading (about 17 minutes to read)
Looking at my git history, I've been happily running InfluxDB for years. However nearing the end of 2021, after long time of peaceful coexistence among my monitoring services, some more or less pressing problems emerged:
1.x
is uncertain, it's pretty clear that I'll have to migrate to 2.x
in foreseeable future.2.x
that could help here.The solution seems pretty obvious, however in the end this post isn't really about InfluxDB.
continue reading (about 8 minutes to read)