From b7a8e670dcc9fd4a7933db028f15bf92581adad0 Mon Sep 17 00:00:00 2001 From: jayp76 Date: Fri, 4 Feb 2022 14:31:35 +0100 Subject: [PATCH 1/3] Message of the day must be stored in /etc --- nice-linux/motd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 nice-linux/motd diff --git a/nice-linux/motd b/nice-linux/motd new file mode 100644 index 0000000..6bbb20b --- /dev/null +++ b/nice-linux/motd @@ -0,0 +1,6 @@ + _____ .__ ____________________ + / \ |__|/ _____/\__ ___/__________ + / \ / \| |\_____ \ | |_/ __ \_ __ \ + / Y \ |/ \ | |\ ___/| | \/ + \____|__ /__/_______ / |____| \___ >__| + \/ \/ \/ From fcef53328f46e7d5b8196be89cb4d4dad2393399 Mon Sep 17 00:00:00 2001 From: jayp76 Date: Fri, 4 Feb 2022 14:33:06 +0100 Subject: [PATCH 2/3] added motd (message of the day) Will be stored under /etc --- make_linux_nice.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make_linux_nice.sh b/make_linux_nice.sh index fa48edb..e7c2935 100644 --- a/make_linux_nice.sh +++ b/make_linux_nice.sh @@ -14,6 +14,7 @@ cp -f "$this_dir/nice-linux/.bash_prompt" /root/ cp -f "$this_dir/nice-linux/.profile" /root/ cp -f "$this_dir/nice-linux/.vimrc" /root/ cp -rf "$this_dir/nice-linux/.ssh" /root/ +cp -rf "$this_dir/nice-linux/motd" /etc/ echo " - Configuring ssh KeepAlive settings..." sed -i -E 's|^#[[:blank:]]*ClientAliveInterval[[:blank:]]*.*$|ClientAliveInterval 60|g; s|^#[[:blank:]]*ClientAliveCountMax[[:blank:]]*.*$|ClientAliveCountMax 10|g' /etc/ssh/sshd_config From 6d148c6a0619977b7fd5ab705d8491c5c219fcb1 Mon Sep 17 00:00:00 2001 From: jayp76 Date: Fri, 4 Feb 2022 14:33:21 +0100 Subject: [PATCH 3/3] added motd (message of the day) Will be stored under /etc