diff --git a/core/debian/changelog b/core/debian/changelog index 10baf392a97b8fc1fee89d39e19f1eff1d56c93f..d7bd29e549f9a5f3a1f09c55df09260d459607b9 100644 --- a/core/debian/changelog +++ b/core/debian/changelog @@ -1,3 +1,9 @@ +sympl-core (9.0.190621.0) stable; urgency=medium + + * Moved sympl-ssl to sbin to avoid permissions/hook issues. + + -- Paul Cammish Fri, 21 Jun 2019 09:19:00 +0100 + sympl-core (9.0.190620.1) stable; urgency=medium * Updated recommended packages diff --git a/core/debian/cron.d b/core/debian/cron.d index 29c4244c111fb2a2ad93fdf8742829bf1f3e38ef..d034e57e61d90cf28e8bbfa9be8425c7ba88c708 100644 --- a/core/debian/cron.d +++ b/core/debian/cron.d @@ -1,9 +1,3 @@ -# -# Check the security of various sensative directories, and fix where needed -# - -@hourly root [ -x /usr/sbin/sympl-filesystem-security ] && /usr/sbin/sympl-filesystem-security - # # Test the strength of user passwords. @@ -17,5 +11,3 @@ # weekly check @weekly root [ -x /usr/sbin/sympl-password-test ] && /usr/sbin/sympl-password-test --weekly -# daily check of SSL certificates -@daily root [ -x /usr/bin/sympl-ssl ] && /usr/bin/sympl-ssl diff --git a/core/debian/links b/core/debian/links index f8f3e35692dc87935336a77220787a562720163f..6ae05da28172473a753f1b38251d32223b7ad50f 100644 --- a/core/debian/links +++ b/core/debian/links @@ -1,10 +1,11 @@ -usr/bin/sympl-encrypt-password usr/bin/symbiosis-encrypt-password -usr/bin/sympl-ip usr/bin/symbiosis-ip -usr/bin/sympl-ssl usr/bin/symbiosis-ssl -usr/bin/sympl-test usr/bin/symbiosis-test -usr/sbin/sympl-configure-ips usr/sbin/symbiosis-configure-ips -usr/sbin/sympl-generate-dhparams usr/sbin/symbiosis-generate-dhparams -usr/sbin/sympl-password-test usr/sbin/symbiosis-password-test -usr/sbin/sympl-configure-ips etc/network/if-up.d/sympl-configure-ips -usr/sbin/sympl-configure-ips etc/cron.hourly/sympl-configure-ips -usr/sbin/sympl-ssl etc/cron.hourly/00-sympl-ssl +usr/bin/sympl-encrypt-password usr/bin/symbiosis-encrypt-password +usr/bin/sympl-ip usr/bin/symbiosis-ip +usr/sbin/sympl-ssl usr/sbin/symbiosis-ssl +usr/bin/sympl-test usr/bin/symbiosis-test +usr/sbin/sympl-configure-ips usr/sbin/symbiosis-configure-ips +usr/sbin/sympl-generate-dhparams usr/sbin/symbiosis-generate-dhparams +usr/sbin/sympl-password-test usr/sbin/symbiosis-password-test +usr/sbin/sympl-configure-ips etc/network/if-up.d/sympl-configure-ips +usr/sbin/sympl-configure-ips etc/cron.hourly/sympl-configure-ips +usr/sbin/sympl-ssl etc/cron.daily/sympl-ssl +usr/sbin/sympl-filesystem-security etc/cron.hourly/sympl-filesystem-security diff --git a/core/debian/postinst b/core/debian/postinst index e9b55445935dee1342f5696d2e3f1837ebab4f50..3d9894051efaafe8cbc8366130fc5d5debe45096 100755 --- a/core/debian/postinst +++ b/core/debian/postinst @@ -232,6 +232,9 @@ account_guest_in_cpu_meter=1" > /root/.config/htop/htoprc chown root:root /root/.config/htop/htoprc fi +# Remove rogue symlink +if [ -L /etc/cron.hourly/00-sympl-ssl ]; then rm /etc/cron.hourly/00-sympl-ssl; fi + #DEBHELPER# diff --git a/core/bin/sympl-ssl b/core/sbin/sympl-ssl similarity index 100% rename from core/bin/sympl-ssl rename to core/sbin/sympl-ssl diff --git a/core/update-motd.d/00-sympl-banner b/core/update-motd.d/00-sympl-banner index e3fea0e141429f3db63b12c927b1bd3606851331..ee840f6a12af7fc28d2805c4399f83aac9e04798 100755 --- a/core/update-motd.d/00-sympl-banner +++ b/core/update-motd.d/00-sympl-banner @@ -1,6 +1,6 @@ #!/bin/sh -echo `tput bold` +echo -e "\033[1m" cat <