centos-pam-with-update-motd
centos-pam-with-update-motd copied to clipboard
Keep the colors
When you use this solution then all the colors that you might get from your scripts are lost and turned into your default terminal black-on-white/white-on-black set.
(I am marking it a feature, not a bug, because this is how the original solution works.)
Maybe a proper solution is to force color output in the target programs, like we did in https://github.com/gdubicki/dynamotd/commit/a9f6dbecb480d4f3ddaed529bc800a56e3430852 ? 🤔