How to Update SSH & MOTD Banner on CentOS 6 Rumi, December 7, 2015December 7, 2015 For legal reasons, Some people need to display a warning banner on their Linux machine before login so that a person requires to acknowledge the contents of the banner before entering the password. To do this, edit a/etc/issue.net file and fill it with the desired context. Edit the /etc/issue.net file: sudo nano /etc/issue.net Here is mine banner as a sample, you can add your’s here: ######################################################### # Authorized access only! # # Disconnect IMMEDIATELY if you are not an authorized user!!! # # All actions Will be monitored and recorded # ############################################################### Open /etc/ssh/sshd_config file: sudo nano /etc/ssh/sshd_config Locate the line, that contains Banner and uncomment it as given below: Banner /etc/issue.net Restart sshd: sudo service sshd restart To configure the MOTD, we need to edit /etc/motd file: sudo nano /etc/motd Here is mine custom MOTD that I want to show to the users after login: ################################ # If you are not authorized to access# # or use this system, disconnect now # ###################################### Now, If we try to login, it will show us the warning banner as well as MOTD after login , that we just configured: Hope this will help you! Src: https://rbgeek.wordpress.com/2012/08/08/how-to-update-ssh-motd-banner-in-centos-6/ Related Administrations Configurations (Linux) CentOSPuttySSHSSHD
enable SNMP on Xen (XCP-NG) hypervisors March 5, 2021 There are six steps to correctly configuring SNMP on your Citrix Xen hypervisor. These steps don’t require a system restart and are non-service affecting. To start, we assume you’re running Xen v6.x or v7.x, and are logged into the Xen CLI as root. 1. Enable the SNMP daemon Enable the… Read More
How to clear the yum cache October 20, 2013 When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages To purge the… Read More
Add Google Calendar to Thunderbird Mail Client January 8, 2018 There are two plugins that must be installed: Lightning – the actual calendar plugin Provider for Google – allows bidirectional access to Google Calendar Install both of these plugins, from within Thunderbird (Menu button | Plugins | See all and then search for Lightning and then Provider for Google. Click Add to… Read More