Tag Archives: linux

“OMG, I see you have committed a manual page…”

…and this is how it’s done, the simplest way possible. I initially heard about this technique from Jan-Piet Mens, a large-scale fiddler unlike me, and have fully committed to it. Continue reading

Posted in UNIX & Linux | Tagged , , , | Comments Off on “OMG, I see you have committed a manual page…”

systemd-Timer für Crontab-User

Ich bin wirklich dazu übergangen, mich komplett auf systemd-Timer statt Crontab-Einträge einzulassen, lediglich die Zeitangaben für kalendergebundene Events machen mir dauerhaft zu schaffen. Mir ist ein Rätsel, dass die allwissenden systemd-Entwickler darauf verzichtet haben, eine zusätzliche Konfigurationsmöglichkeit über die bekannten, selbsterklärenden und intuitiv verständlichen Crontab-Spezifikationen zu akzeptieren. Hier also eine Handvoll Beispiele. Continue reading

Posted in Allgemein, UNIX & Linux | Tagged , , | 5 Comments

Too good to #0003

Linux uptime in seconds, once and for all “Sudo on demand”, re-exec shell script with sudo if not running as root See also TGT0006, this is just as useful for downgrading privileges on the fly. “When was the last time … Continue reading

Posted in Too Good To, UNIX & Linux | Tagged , , , , , , | Comments Off on Too good to #0003

How expiration dates in the shadow file really work

tl;dr: Accounts expire as soon as UTC reaches the expiration date. In today‘s installment of my classic shame-inducing series “UNIX basics for UNIX professionals”, I want to talk about account (and password) expiration in /etc/shadow on Linux. The expiration time … Continue reading

Posted in Uncategorized, UNIX & Linux | Tagged , , , , | Comments Off on How expiration dates in the shadow file really work

CentOS 7 on MD-RAID 1

Figuring this out took me quite a bit of time. In the end, I approached the starter of this hilariously useless CentOS mailing list thread, who assured me that indeed he had found a way to configure MD-RAID in the … Continue reading

Posted in UNIX & Linux | Tagged , , , | Comments Off on CentOS 7 on MD-RAID 1

What does the slash in crontab(5) actually do?

That’s a bit of a stupid question. Of course you know what the slash in crontab(5) does, everyone knows what it does. I sure know what it does, because I’ve been a UNIX and Linux guy for almost 20 years. … Continue reading

Posted in UNIX & Linux | Tagged , , , | 4 Comments