CentOS 7.3 Banner Information settings

Source: Internet
Author: User



I. Banner information related documents


/etc/issue: This file information is used for local login when the prompt information is saved in this document, by modifying the contents of this document can modify the local login prompt information. Modification and entry into force.

/etc/issue.net: This file is used to save the message before landing via SSH. Modify this file to modify the prompt before SSH login. It is also necessary to change the "#banner No" content to "banner/etc/issue.net" in the/etc/ssh/sshd_config file, and then systemctl restart Sshd.services reboot to take effect.

/ETC/MOTD: This file is used to save the prompt message after successful SSH login. Modification and entry into force.




Second, set up banner information function

1, can hide the server is really information.

2, you can set some warning information.




Third, banner other information description

General settings are only: Kernel \ r on an \m

These \ r \m are representative meanings:

\d the date of the local end time

\l shows the interface of the first terminal;

\m Display hardware level (i386/i486/i586/i686 ...)

\ n Displays the network name of the host

\o Show Domain name

\ r version of the operating system (similar to UNAME-R)

\ t Displays the time of the local end time

\s name of the operating system

\v version of the operating system

For example, I would like to set the time on the local side

We can open/etc/issue and write date: \d


CentOS 7.3 Banner Information settings

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.