Installation, Updating and Configuration

COIT20266 Systems Security Administration
Week 02 [1]
COIT20266 – Systems Security Administration
Week 02 – Installation, Updating and Configuration
This week we look at making our base system easier to access and a
little easier to use. We also learn the basics of editing text
files with the vi editor.
Author: “I’ve been using the vi editor for a little over 20 years
and love it (can you really love software?). You will probably
hate it. Trust me, the more you use it, the more you will learn
its power as a text editor – it is much more than just a text
editor – in time, you too might find you love it (or not).”
Summary
Software we need to install
* openssh-server (www.openssh.com) – “OpenSSH encrypts all traffic
(including passwords) to effectively eliminate eavesdropping,
connection hijacking, and other attacks”.
* PuTTY (
www.chiark.greenend.org.uk/~sgtatham/putty) – “PuTTY is a
free implementation of Telnet and SSH for Windows and Unix
platforms”.
* byobu – (
launchpad.net/byobu,
help.ubuntu.com/10.10/serverguide/C/byobu.html) – A useful
application for system administrators. It allows the execution of
multiple shells in one terminal, and provides some useful
information about the system.
* vim – (
www.vim.org, help.ubuntu.com/community/VimHowto) – an
advanced text editor often called a “programmer’s editor”. It is
perfect for all kinds of text editing, from composing email to
editing configuration files.
* traceroute – “print the route packets trace to network host”.

COIT20266 Systems Security Administration
Week 02 [2]
Chapters we need to read
* 13 – Drivers and the Kernel
* 14 – TCP/IP Networking
* 21 – Networking Management and Debugging
Tasks
Readings
Read all of the recommended chapters before installing the
software or attempting the assessment items. The readings will
give us some background information that should help in
understanding what is required to connect to our server remotely.
Installing the software
As there are a number of components to install, a separate
document titled “
Remote SSH and Command Line Tools” is provided on
the course website. Download it and follow the steps to install
and configure each of the components. Before starting the
installation, make sure to read the assessment items below. We
are required to document the PuTTY installation process as we do
it.
Assessment
1. Using the list you developed in week 1 assessment item 6,
develop a list for the installation and configuration of PuTTY.
2. Submit a description of the default information that byobu
displays.
3. When the
vi command is run, it checks for a number of
configuration files which provide details on how the vi interface
should be displayed and configured. Details about the various
configuration files can be found in the man pages for vi – review
these again if you haven’t already.
Each user can configure vi with a file located in their ‘home’
directory. Details about the ‘home’ directory are covered next

COIT20266 Systems Security Administration
Week 02 [3]
week, but for now just accept that when we login, we are in our
‘home’ directory (just like a folder in Windows).
The name of the user configuration file is
.vimrc, so to edit the
local configuration file we simply type
vi .vimrc which allows us
to use vi to edit the file. [Note: there is a dot in front of
vimrc in the file name.]
Make suitable changes to the vi configuration file, .vimrc, so
that when you edit a file it shows line numbers and displays
coloured syntax. Submit a screenshot showing the .vimrc file
being edited with vi within the PuTTY SSH client (the screenshot
should show line numbers and coloured syntax highlighting).
The following four YouTube videos will help you learn the basics
of using the vi editor.
The vi/vim editor – Lesson 1
The vi Editor – Lesson 2 – Navigation Commands
The vi Editor – Lesson 3 – Inserting Text
The vi Editor – Lesson 4 – Deleting Text
If you perform an Internet search using the words “vi cheat
sheet”, you will find many summaries of the keys used in vi that
you may find useful.
If you have difficulties using vi, ask for help on the course
forum.
4. Submit the .vimrc file by downloading it using the PuTTY SFTP
client. The default location that SFTP logs into is the users
‘home’ directory. Remember to use the ‘help’ command in SFTP to
list the available commands.
5. Submit a screenshot of the PuTTY SFTP client just after the
download of the .vimrc file.
6. Submit a screen shot of the output of the “ifconfig -a”
command. Discuss what the output is indicating.
7. Submit a screen shot of the output from the “traceroute”
command showing the path between your server and cqu.edu.au.
Discuss what the output is indicating.
How to submit:
COIT20266 Systems Security Administration
Week 02 [4]
Include all lists, answers, screenshots etc. in a single Word
document. Your .vimrc file and the Word document should be zipped
up as
week02.zip. Don’t submit it yet – it’s not due till Week 6.
Weeks 2,3,4 and 5 need to be submitted together and all are due in
Week-6. At that time you should zip up your weeks 2,3,4 and 5 zip
files as
Week2345.zip and submit it.