ICT213 Multi-user Operating Systems Administration
Assignment One
Semester 1, 2015
-
You have forgotten the root password for a system.
How do you reset the root password?
Give three methods: one using sudo, one booting into runlevel one
and the third using a rescue disk.
How do you stop any other users from using these same
techniques to crack the system?
-
Try the unofficial practice L101 quiz at
http://www.penguintutor.com/quiz/index.php
Keep trying till you score above 70%, and then print out your results page.
You can make use of the web and a runnng Linux system to try to answer
the questions
-
My router keeps a
log of intrusion attempts. The log contains lines like
Mar 24 01:17:30 user alert kernel: Intrusion -> TCP packet from [ppp0] 108.162.231.167:19756 to 192.168.1.101:80
I would like to know which of my services are being attacked, and
which hosts are most heavily involved in attacks. My external IP
is 60.241.205.167 and my internal network is 192.168.1.0/24.
I want to know
-
Which IP addresses are attacking me
-
Which ports on my
hosts are being attacked
To do this,
-
What command will print just the lines containing the
string "user alert kernel" from the log?
-
What command will read these lines from standard input and
just print the "Attack IP:port" segment?
-
What command will remove the ":port" from these lines?
-
What commands will sort the list of attack IP addresses
and tell me the top ten addresses?
-
For each of these ten, attempt a reverse lookup to see
if their host names are accessible
-
What command(s) will print the "My IP:port" segments from the log?
-
What command(s) will tell me the most frequently attacked
IP address and port?
-
You are setting up some Linux machines to be used as "point of
sale" terminals. When someone logs in the point-of-sale
application should run, occupying the whole screen
with no window decorations. How do you configure
the machine to do this? (For simplicity,
use just an editor application
as the "point-of-sale application").
Show which configuration files you have used
and their contents, and attach a screen shot
of the application.
-
Summarise the arguments for and against
systemd
in about two paragraphs.
Group size
This assignment (and the next one) must be done individually.
Due date
The assignment is due at by Friday April 10.
Submit a soft copy using Student Web.
Jan Newmarch (http://jan.newmarch.name)
jan@newmarch.name
Copyright ©Jan Newmarch