summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/set_motd/howtos/en/index.html.html
blob: 0b2b971d30468ad85e81083b150c727c81c5c3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<h2>How To</h2>

<h2><ol>
	<li>Create two virtual machines Student(student-console) and Test(SimpleArbiterDhcpGw) <br> <img src="../images/img4.png"></li>
	<li>Change the network settings to both virtual machines.  SimpleArbiterDhcpGw: Adapter 1 set it to NAT, for internet access and Adapter 2 to internal network for local network.
   	Student: Adapter1 set it to "internal-network" so it is in the same domestic network as SimpleArbiterDhcpGw. <br> <img src="../images/img1.png"> <br> <img src="../images/img2.png"> <br> <img src="../images/img3.png"></li>
   	<li>Login into <b>Student</b> <br>  <img src="../images/img5.png"></li>
	<li>In Student(student-console) create a new user, marjankoral19, with a custom password. <br>  <img src="../images/img6.png"></li>
	<li>Set the IP address to Student, - you can also do this manualy (ip: 172.23.192.3) <br>  <img src="../images/img7.png"></li>
	<li>Then edit the /etc/motd, file with the specified string. "Not for Human consumption" <br>  <img src="../images/img8.png"> </li>
	<li>For testing login with the test user into Test(SimpleArbiterDhcpGw) <br>  <img src="../images/img9.png"></li>
	<li>Then connect to Student with ssh using the user marjankoral19 - ssh marjankoral@ip. <br>  <img src="../images/img10.png"></li>
	<li>If login successful the Message of the day should apear.</li>
</ol></h2>
=======

<h2>Purpose of the exercise</h2>
<p>How to create user? How to edit a file? How to connect to anoter computer using ssh? How to find out the computer IP address?</p>
<h2>Brief description</h2>
<p>Set up two virtual machines, set MOTD. Connect using ssh.</p>