Simple Ways to Improve Your Security

Now that you are familiar with many of the security issues with Unix systems, you are ready to learn the following simple techniques for securing your systems:

  • Minimizing the number of setuid programs on your system

  • Removing world-writable permissions

  • Installing TCP wrappers

  • Removing unnecessary services from inetd

  • Requiring secure passwords

  • Monitoring the integrity of your file systems

Each of these techniques is applicable to any Unix operating system, so you should find them useful for every system you administer. The following sections discuss these techniques in detail.

Minimizing the Number of setuid Programs

setuid programs execute with the permissions of the owner of the executable file, so when setuid ...

Get Unix® System Management Primer Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.