1 00:00:00,000 --> 00:00:10,080 In this short video, you'll learn about MOTD. 2 00:00:10,080 --> 00:00:15,640 So the ETC MOTD file, that's a message where for security compliance usage policies should 3 00:00:15,640 --> 00:00:18,520 be posted in ETC MOTD. 4 00:00:18,520 --> 00:00:23,719 In some environments, it is very important that you post your usage policies at the moment 5 00:00:23,719 --> 00:00:29,040 that the user is logging in, because otherwise abuse cannot be dealt with. 6 00:00:29,040 --> 00:00:30,760 To do so is very easy. 7 00:00:30,760 --> 00:00:35,200 Just write the message in this file and the file content is shown every time a user logs 8 00:00:35,200 --> 00:00:38,000 in on a non-graphical console. 9 00:00:38,000 --> 00:00:43,279 Alternatively, there is also ETC issue, and that is used to display a message before a 10 00:00:43,279 --> 00:00:44,720 user is logging in. 11 00:00:44,720 --> 00:00:46,520 Let me show you. 12 00:00:46,520 --> 00:00:51,119 So I'm going to use VIM on ETC issue. 13 00:00:51,119 --> 00:00:56,439 And there we can see that by default it is printing some system information. 14 00:00:56,439 --> 00:01:04,320 And I am going to add authorized users only. 15 00:01:04,320 --> 00:01:10,720 And then in ETC MOTD, we'll put whichever compliance message you want. 16 00:01:10,720 --> 00:01:19,720 So don't abuse system resources, whatever you want to put in there. 17 00:01:19,720 --> 00:01:21,440 Now how are we going to see it? 18 00:01:21,440 --> 00:01:28,879 Well, I'm going to use CHVT3 to log in to a virtual terminal number three. 19 00:01:28,879 --> 00:01:32,160 And there you can see on the top line authorized users only. 20 00:01:32,160 --> 00:01:36,360 And now I'm going to log in as my current user. 21 00:01:36,360 --> 00:01:40,040 And there we can see don't abuse system resources. 22 00:01:40,040 --> 00:01:41,040 That's how it works. 23 00:01:41,040 --> 00:01:44,879 CHVT is bringing you to virtual terminal number three. 24 00:01:44,879 --> 00:01:49,400 Now if you want to go back on a centerware system, your graphical interface is normally 25 00:01:49,400 --> 00:01:51,800 on virtual terminal number two. 26 00:01:51,800 --> 00:01:54,040 So CHVT2 will do the job.