Securing-Optimizing-RH-Linux-1_2_35
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
35
Put some colors on your terminal
Putting some colors on your terminal can help you to distinguish folders, files, archives, devices,
symbolic links and executable file from others. My opinion is that colors help to make less errors
and fast navigation on your system.
Edit the profile file (vi /etc/profile) and add the following lines:
# Enable Colour ls
eval `dircolors /etc/DIR_COLORS -b`
export LS_OPTIONS=-s -F -T 0 --color=yes
Edit the bashrc file (vi /etc/bashrc) and add the line:
alias ls=ls --color=auto
Then log in and out; after this, the new COLORS-environment variable is set, and your system
will recognize that.
Update of the latest softwares
Keep and update all software (especially network software) to the lasted versions, check the
errata pages for the Red Hat Linux distribution, available at
http://www.redhat.com/corp/support/errata/index.html. The errata pages are perhaps the best
resource for fixing 90% of the common problems with Red Hat Linux. In addition, security holes
for which a solution exists are generally on the errata page 24 hours after Red Hat has been
notified. You should always check there first.
Softwares that must be updated at this time for your Red Hat Linux 6.1 server are:
groff-1_15-1_i386.rpm
sysklogd-1_3_31-14_i386.rpm
initscripts -4_70-1_i386.rpm
e2fsprogs -1.17-1.i386.rpm
pam -0_68-10_i386.rpm
Linux kernel 2.2.14 (linux-2_2_14_tar.gz)
NOTE: The Linux kernel is the most important, and always must be updated. See bellow for more
information on building a custom kernel for your specific system.
·
You can verify if the RPM software above is installed on your system before make an
update with the following command:
[root@deep /]# rpm -q <softwarename>
Where <softwarename> is the name of the software you want to verify like groff, sysklogd, etc.