From 0d52a34d2b0a06a6e350347d25977f7c24197f75 Mon Sep 17 00:00:00 2001 From: Edwin Lyon Date: Fri, 22 Sep 2023 14:02:52 -0700 Subject: [PATCH] Update 'cloud_setup.sh' Updated motd --- cloud_setup.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cloud_setup.sh b/cloud_setup.sh index 08bbe1d..0703fc6 100644 --- a/cloud_setup.sh +++ b/cloud_setup.sh @@ -259,4 +259,13 @@ mv /etc/ssh/moduli.safe /etc/ssh/moduli echo 'GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"' >> /etc/default/grub echo 'GRUB_DISABLE_RECOVERY="true"' >> /etc/default/grub -echo '######################################################################################################################### UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED ## You must have explicit, authorized permission to access or configure this device. ## Unauthorized attempts and actions to access or use this system may result in civil and/or criminal penalties. ## All activities performed on this device are logged and monitored. ## Disconnect IMMEDIATELY if you are not an authorized user! #########################################################################################################################' > /etc/motd \ No newline at end of file +# MOTD +cat <<-EOF > /etc/motd +######################################################################################################################## +# UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED # +# You must have explicit, authorized permission to access or configure this device. # +# Unauthorized attempts and actions to access or use this system may result in civil and/or criminal penalties. # +# All activities performed on this device are logged and monitored. # +# Disconnect IMMEDIATELY if you are not an authorized user! # +######################################################################################################################## +EOF \ No newline at end of file