Linux Server How ToHow To Setup, Configure, Manage and Secure a Linux Server |
|
Home Which Linux Distribution? Linux Server Hardware Linux Server Security Linux Server Security Linux Server Firewalls Easy Firewall Generator IPTABLES Firewall Tutorial Ubuntu Server Firewall Secure Passwords Install John the Ripper Keep Your Server Updated Linux Web Server - Apache Linux DNS Server - Bind Linux DHCP Server - DHCPD Linux Mail Server - Sendmail LDP How To's About This Site |
Linux Server Security - Keep Your Linux server Up to DateMaintain Your ServerOver a period of time the software on your Linux server will become quite out of date. There are many reasons why you might wish to update to a later version of a program or service on your Linux server, increased functionality, new features and bugfixes are to name just a few. The most pressing reason to update software on your Linux server would have to be in response to a security issue. Unfortunately the older the software you use, the longer it has been around and the more likely that someone has discovered a security flaw or exploit in that software. It is inevitable that you will need to upgrade something at some point to keep your Linux server safe.
Turn Off Unused ServicesIf a service is not present or not running it cannot be exploited. Theres no point in running bind on a machine that is not used as a nameserver. Or running apache on your Linux server if when you point a web browser at it all it has is a page proclaiming It Works! Of course if the cache is poisoned on a nameserver nobody uses its unlikely that anyone will ever notice, let alone be affected by it. This doesnt hold true in all situations however, dns servers are often run in a chroot prison with good reason. Consider the potential damage possible if a Samba server had a security flaw that allowed an attacker to easily drop their payload directly onto your linux server. If a service is not running it cannot be exploited regardless of its state.To turn off a service on boot with our Slackware Linux server simply disable its startup script by making it unexecutable. We'll use the Apache webserver for our example.
To turn off a service on boot with our Ubuntu Linux server you can use the update-rc.d command. Once again we will use Apache as our example service.
Ubuntu and other Debian based distributions of Linux can easily benefit from the rcconf program that allows the administrator to elect what services to run on startup through a menu based interface. Very handy if you like to turn services off and on a lot.
|
| © 2009 www.linuxserverhowto.com |