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

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.

主站蜘蛛池模板: 鞍山市| 大渡口区| 正镶白旗| 衢州市| 上饶市| 永胜县| 宁国市| 福鼎市| 林甸县| 舟曲县| 雷波县| 日照市| 河源市| 政和县| 土默特右旗| 弥渡县| 锦州市| 阿拉善左旗| 北海市| 昔阳县| 望谟县| 河东区| 辽阳市| 福安市| 广丰县| 桂林市| 五家渠市| 旬邑县| 乌拉特前旗| 白水县| 汉阴县| 阿克陶县| 邯郸市| 沈阳市| 平乡县| 宜黄县| 五台县| 大洼县| 隆德县| 安多县| 叙永县|