Alte motd Datei zur Sicherheit leeren, sonst wird der Standard Text zusätzliche anzezeigt.
cp /dev/null echo > /etc/motd
== Ergebnis ==
== Datei: 20-header ==
cat <<EOT >/etc/update-motd.d/20-header
#!/bin/sh
#
#printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "$(uname -r)"
#printf "\n"
EOT
== Datei: 30-sysinfo ==
cat <<EOT >/etc/update-motd.d/30-sysinfo
#!/bin/bash
#
\033[0;34m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\033[0;37m
"
EOT
[[Kategorie:SSH]]