How do I set the welcome information for Linux users when they log on?

Source: Internet
Author: User
Keywords User login Linux welcome information
Tags close etc example exit file get http information

How do I set up the welcome information for Linux users when they log on? We need to modify the/etc/motd file and write the text to it so that the user can log in correctly and get the prompt information before executing the shell.

Example:

[Root@localhost/]# VI/ETC/MOTD

Welcome to visit the Wind network http://www.ithov.com

: Wq

Save exit.

Close the terminal and log in again to provide information as follows:

Last Login:mon June 09:36:22 2013 from 192.168.1.2
Welcome to visit the Wind network http://www.ithov.com
[Root@localhost ~]#

MOTD is the meaning of "messages of the day", which means the message.

The administrator can write to the inside to remind the official user of some matters needing attention or notice.

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.