Capstone Projects
Capstone Project 11-1: Manage Log Files in Ubuntu Server
Oftentimes it seems that working with Linux operating systems, compared to working
with Windows, is like driving a stick shift rather than an automatic. As you’ve already
learned, to configure an installed program in Ubuntu, you must edit a text file. For
example, in Capstone Project 5-1, you edited the /etc/vsftpd.conf text file when
configuring the FTP program you installed in Ubuntu.
Ubuntu creates various logs to track just about any event, and these logs are stored as text
files. By default, most are stored in the /var/log directory. The FTP program maintains its
own activity log in a text file that, by default, is /var/log/vsftpd.log. (You can change the
default path and filename by editing the /etc/vsftpd.conf file.) This log file is essential to
a technician who needs to monitor which users have logged on to the FTP server, when
and from where they logged on, and what files they uploaded or downloaded. You can
also monitor failed logons, which can tip you off to someone or a robot trying to hack
into your system.
Using the installation of Ubuntu Server you created in Capstone Project 4-1 in a VM,
follow along to learn how to manage log files in Ubuntu:
1. Start Ubuntu Server and log on with your username and password. Refer to your
LastPass vault if you don’t remember that information.
2. Enter the commands shown in Table 11-3.
[[Begin Table 11-3]]