Skip to main content

MOTD & bannières

MOTD :

motd.sh - PROD
#!/bin/bash
export TERM=xterm-256color

#Banner bellow. Put .sh to /etc/profile.d/motd.sh
#Basic colors are : "1-Red | 2-Green | 3-Yellow | 4-Blue | 5-Magenta | 6-Cyan | 7-White"

echo "$(tput setaf 208)
####################       ###################     ###########################    ##########################
####################      ####################     ############################   ###############################
#####################     #####################    ############################   ################################
#####################    ######################    ############################   ############    #################
######################   ######################    ###############                ###########      ################
######################  #######################    ###########################    #############   ######## #######
####################### #######################    ###########################    ############         #########
################################# #############    ###########################    #####            #########
############# ################### #############    ###########################    ############      ##########
############# *#################  #############    ###############                ############       ##########
#############  #################  #############    ###############                ############        ##########
############    ###############   #############    ###############                ############   ##    ###########
############    ###############   #############    ###############                ############   ####   ###########
#############    #############    #############    ###############                ############  ######   ###########
                                    ###########      ###########                  ###########   #######   ###########

$(tput setaf 1)
###################################################################################
#                               /\             /\                                 #
#                              /!!\  WARNING  /!!\                                #
#                                                                                 #
#                       This is a PRODUCTION! environment.                        #
#                       Be very carefull, don't mess up :D                        #
#                                                                                 #
###################################################################################
$(tput sgr0)"
motd.sh - UAT
#!/bin/bash
export TERM=xterm-256color

#Banner bellow. Put .sh to /etc/profile.d/motd.sh
#Basic colors are : "1-Red | 2-Green | 3-Yellow | 4-Blue | 5-Magenta | 6-Cyan | 7-White"

echo "$(tput setaf 208)
####################       ###################     ###########################    ##########################
####################      ####################     ############################   ###############################
#####################     #####################    ############################   ################################
#####################    ######################    ############################   ############    #################
######################   ######################    ###############                ###########      ################
######################  #######################    ###########################    #############   ######## #######
####################### #######################    ###########################    ############         #########
################################# #############    ###########################    #####            #########
############# ################### #############    ###########################    ############      ##########
############# *#################  #############    ###############                ############       ##########
#############  #################  #############    ###############                ############        ##########
############    ###############   #############    ###############                ############   ##    ###########
############    ###############   #############    ###############                ############   ####   ###########
#############    #############    #############    ###############                ############  ######   ###########
                                    ###########      ###########                  ###########   #######   ###########

$(tput setaf 3)
###################################################################################
#                                                                                 #
#    ,___,                                                                        #
#    [O.0]                This is an UAT environment.                             #
#    /)__)         Don't touch it unless you know what you ar doing.              #
#  --''-''--                                                                      #
#                                                                                 #
###################################################################################
$(tput sgr0)"

 

motd.sh - LAB
#!/bin/bash
export TERM=xterm-256color

#Banner bellow. Put .sh to /etc/profile.d/motd.sh
#Basic colors are : "1-Red | 2-Green | 3-Yellow | 4-Blue | 5-Magenta | 6-Cyan | 7-White"

echo "$(tput setaf 208)
####################       ###################     ###########################    ##########################
####################      ####################     ############################   ###############################
#####################     #####################    ############################   ################################
#####################    ######################    ############################   ############    #################
######################   ######################    ###############                ###########      ################
######################  #######################    ###########################    #############   ######## #######
####################### #######################    ###########################    ############         #########
################################# #############    ###########################    #####            #########
############# ################### #############    ###########################    ############      ##########
############# *#################  #############    ###############                ############       ##########
#############  #################  #############    ###############                ############        ##########
############    ###############   #############    ###############                ############   ##    ###########
############    ###############   #############    ###############                ############   ####   ###########
#############    #############    #############    ###############                ############  ######   ###########
                                    ###########      ###########                  ###########   #######   ###########

$(tput setaf 2)

⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⠻⠿⠃⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⣉⣁⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠘⡿⠿⠿⠿⠿⠿⠿⢿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⣀ ⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀This environment is a LAB / TEST Environnement.⠀
⠀⠀⠀⠀⠀⠀⣇⣀⣀⣀⣀⣛⣃⣸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Here it is ok to test things and break down everything.
⠀⠀⠀⠀⠀⠀⣿⡿⠿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ENJOY :D
⠀⠀⠀⠀⠀⠀⣿⣷⣤⣾⠋⠉⢻⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣦⣴⣾⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⠙⠛⠛⠋⠁⠀⠀

$(tput sgr0)"
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

 


BANNERS :

banner - SSH
######################### WARNING #######################
This system is a private property of MFR-STE Company.
All connection attemps are logged.
If you accessed this system by error, please disconnect.
#########################################################