官术网_书友最值得收藏!

Using the motd file

The /etc/motd file will present a message banner to anyone who logs in to a system through Secure Shell. On your CentOS machine, an empty motd file is already there. On your Ubuntu machine, the motd file isn't there, but it's a simple matter to create one. Either way, open the file in your text editor and create your message. Save the file and test it by remotely logging in through Secure Shell. You should see something like:

maggie@192.168.0.100's password:
Last login: Sat Oct 7 20:51:09 2017
Warning: Authorized Users Only!

All others will be prosecuted.
[maggie@localhost ~]$

motd stands for Message of the Day.

主站蜘蛛池模板: 阿克苏市| 鱼台县| 铁岭县| 四会市| 基隆市| 万全县| 邵武市| 镇雄县| 张家口市| 青龙| 南安市| 乐东| 仙桃市| 柳州市| 静宁县| 扶余县| 永吉县| 房山区| 辰溪县| 绍兴市| 平谷区| 新郑市| 朔州市| 汉中市| 咸宁市| 宿迁市| 山丹县| 伊川县| 台山市| 扬州市| 弥渡县| 临沭县| 工布江达县| 浦城县| 从化市| 新竹市| 娱乐| 天长市| 屏山县| 华亭县| 若尔盖县|