Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Turning off unnecessary services


The best way to avoid potential security issues with services you're not actively using is to disable them. This recipe will list the steps to identify the running system services that have open network ports and disable them.

How to do it...

Let's start by identifying the processes that open network ports on your systems. This can be done with the help of the following steps:

  1. Navigate to Others | Command Shell.

  2. Type in the command netstat -tulpen and click Execute command.

You will see a list of server processes with active network connections.

In the Local Address column, you will see entries such as 0.0.0.0:22. This means that a process is listening on port 22. The PID/Program name column will tell you which process is responsible for opening this port.

If you identify a process that you are not using and you know that it isn't essential to your system, you can disable it with the help of the following steps:

  1. Navigate to System | Bootup and Shutdown.

  2. Find the startup...