Tag Archives: debian

Too good to #0007

Disable the dynamic motd on Ubuntu and everywhere else This is without messing around in /etc/pam.d or doing things that may be reverted by future updates. Remember to systemctl enable disable-dynamic-motd.timer. Disable verbose logging on realmd.service Problem on AD-member Linux … Continue reading

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

Too good to #0006

“Sudo on demand” from TGT0003 considered more useful for downgrading privileges on the fly JSON export of all installed packages on Debian/Ubuntu Urlwatch for a new version of a package in the Ubuntu package pool

Posted in Too Good To, UNIX & Linux | Tagged , , , , , | 1 Comment

Too good to #0005

Prioritizing own NTP servers for systemd-timesyncd Test if text is empty (even if it does contain a linebreak) Good job by: https://unix.stackexchange.com/q/386499/2028 Watch for changes in the Gnome registry (To reproduce manual changes, for configuration management.) Trigger Debian/Ubuntu unattended-upgrade (For … Continue reading

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

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

Debian /boot old kernel images

So I was looking at yet another failed apt-get upgrade because /boot was full. After my initial whining on Twitter, I immediately received a hint towards /etc/apt/apt.conf.d/01autoremove-kernels, which gets generated from /etc/kernel/postinst.d/apt-auto-removal after the installation of new kernel images. The … Continue reading

Posted in UNIX & Linux | Tagged , | Comments Off on Debian /boot old kernel images