-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbanners.sh
51 lines (47 loc) · 2.57 KB
/
banners.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
chown root:root /etc/motd
chmod 644 /etc/motd
echo "
###############################################################
# Authorized users only! #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
# By connecting to this computer you agree to acknowledgeing #
# that all actions are logged and that any information #
# stored on this device may be reviewed and used in any way #
# nesessary to the system owner, admin, and law enforcemnet. #
# Any illegal actions or incriminating actions reported #
# on this system will be used to the full extent to the law #
# #
###############################################################" > /etc/motd
chown root:root /etc/issue
chmod 644 /etc/issue
echo "
###############################################################
# Authorized users only! #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
# By connecting to this computer you agree to acknowledgeing #
# that all actions are logged and that any information #
# stored on this device may be reviewed and used in any way #
# nesessary to the system owner, admin, and law enforcemnet. #
# Any illegal actions or incriminating actions reported #
# on this system will be used to the full extent to the law #
# #
###############################################################" > /etc/issue
chown root:root /etc/issue.net
chmod 644 /etc/issue.net
echo "
###############################################################
# Authorized users only! #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
# By connecting to this computer you agree to acknowledgeing #
# that all actions are logged and that any information #
# stored on this device may be reviewed and used in any way #
# nesessary to the system owner, admin, and law enforcemnet. #
# Any illegal actions or incriminating actions reported #
# on this system will be used to the full extent to the law #
# #
###############################################################" > /etc/issue.net
echo [SUCCESS] banners.sh ran by $USER on $(date -u) | tee -a /bin/lib/sh/MK3S/data/MK3S.log