Update 'cloud_setup.sh'

Updated motd
main
Edwin Lyon 2 years ago
parent 6593da4d0f
commit 0d52a34d2b
  1. 11
      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_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"' >> /etc/default/grub
echo 'GRUB_DISABLE_RECOVERY="true"' >> /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 # 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
Loading…
Cancel
Save