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

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.

主站蜘蛛池模板: 清新县| 常宁市| 阿坝县| 紫云| 海林市| 灵川县| 济南市| 来凤县| 永仁县| 龙口市| 肇庆市| 斗六市| 饶平县| 封开县| 武夷山市| 玉田县| 弥渡县| 科技| 济源市| 武隆县| 仁布县| 克拉玛依市| 大连市| 长垣县| 綦江县| 酒泉市| 五台县| 绥阳县| 紫金县| 香格里拉县| 孝昌县| 安达市| 潼关县| 汉源县| 武隆县| 常州市| 黄陵县| 乌什县| 雷州市| 宝应县| 齐河县|