首页 > 其他 > 详细

/etc/motd and /etc/issue

时间:2016-06-15 12:31:38      阅读:165      评论:0      收藏:0      [点我收藏+]

/etc/motd and /etc/issue  

Bash offers an option to include messages in the /etc/motd and the /etc/issue files. Messages in /etc/motd display after a user has successfully logged in to a shell.用户登录shell之后显示的信息 (Notice that users in a graphical environment do not see its contents after a graphical login.图形登录界面看不到这个信息提示) Using /etc/motd can be a convenient way for system administrators to inform users. 


Another way to send information to users is by using /etc/issue. The contents of this file display before the user logs in. This provides an excellent means of specifying specific login instructions to users who are not logged in yet. 这个是在用户登录之前显示的信息。

技术分享

/etc/motd and /etc/issue

原文:http://www.cnblogs.com/rusking/p/5586812.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!