From 1eba788edd4d1d0da58587b87d52300ac3e0f476 Mon Sep 17 00:00:00 2001 From: Charles Wyble Date: Sun, 21 Apr 2019 12:39:40 -0500 Subject: [PATCH] . --- slack/prod/tsys-base/files/etc/aliases | 3 +++ slack/prod/tsys-base/files/etc/resolv.conf | 3 +++ slack/prod/tsys-base/files/etc/ssh/tsys-banner | 11 +++++++++++ slack/prod/tsys-base/files/etc/sudoers.d/localuser | 3 +++ slack/prod/tsys-base/files/etc/sudoers.d/pi | 3 +++ slack/prod/tsys-base/scripts/postinstall | 2 ++ 6 files changed, 25 insertions(+) create mode 100644 slack/prod/tsys-base/files/etc/aliases create mode 100644 slack/prod/tsys-base/files/etc/resolv.conf create mode 100644 slack/prod/tsys-base/files/etc/ssh/tsys-banner create mode 100644 slack/prod/tsys-base/files/etc/sudoers.d/localuser create mode 100644 slack/prod/tsys-base/files/etc/sudoers.d/pi diff --git a/slack/prod/tsys-base/files/etc/aliases b/slack/prod/tsys-base/files/etc/aliases new file mode 100644 index 0000000..0498b76 --- /dev/null +++ b/slack/prod/tsys-base/files/etc/aliases @@ -0,0 +1,3 @@ +postmaster: root +root: prodtechopsalerts@turnsys.com + diff --git a/slack/prod/tsys-base/files/etc/resolv.conf b/slack/prod/tsys-base/files/etc/resolv.conf new file mode 100644 index 0000000..92fc579 --- /dev/null +++ b/slack/prod/tsys-base/files/etc/resolv.conf @@ -0,0 +1,3 @@ +domain turnsys.net +search turnsys.net pfv.turnsys.net + diff --git a/slack/prod/tsys-base/files/etc/ssh/tsys-banner b/slack/prod/tsys-base/files/etc/ssh/tsys-banner new file mode 100644 index 0000000..2e950e6 --- /dev/null +++ b/slack/prod/tsys-base/files/etc/ssh/tsys-banner @@ -0,0 +1,11 @@ + + +======================================================================================================================== +This system is restricted for Turn Net Systems LLC members and authorized employees/contractors only. + +All activity on this system is subject to monitoring. By accessing this system, you consent to any and all monitoring. +If information collected reveals possible criminal activity or activity that exceeds privileges, evidence of such activity +may be provided to the relevant authorities for further action. By continuing past this point, you expressly consent +to this monitoring. +======================================================================================================================== + diff --git a/slack/prod/tsys-base/files/etc/sudoers.d/localuser b/slack/prod/tsys-base/files/etc/sudoers.d/localuser new file mode 100644 index 0000000..c83129c --- /dev/null +++ b/slack/prod/tsys-base/files/etc/sudoers.d/localuser @@ -0,0 +1,3 @@ + +localuser ALL=(ALL) NOPASSWD: ALL + diff --git a/slack/prod/tsys-base/files/etc/sudoers.d/pi b/slack/prod/tsys-base/files/etc/sudoers.d/pi new file mode 100644 index 0000000..6bd189d --- /dev/null +++ b/slack/prod/tsys-base/files/etc/sudoers.d/pi @@ -0,0 +1,3 @@ + +pi ALL=(ALL) NOPASSWD: ALL + diff --git a/slack/prod/tsys-base/scripts/postinstall b/slack/prod/tsys-base/scripts/postinstall index c298dc6..31b9054 100755 --- a/slack/prod/tsys-base/scripts/postinstall +++ b/slack/prod/tsys-base/scripts/postinstall @@ -30,6 +30,8 @@ if [ $OVH_MGMT_IP -eq 1 ]; then tsysSysLocation=ovh fi +newaliases + #/usr/local/bin/up2date.sh #apt-get update