How to configure login banners in Linux (RedHat, Ubuntu, CentOS, Fedora)

Learn how to create login banners in Linux to display a different warning or information message to the user who is about to log in or after he logs in.