[b4b71892] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[b4b71892] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[f45b1953] | 8 | <chapter id="postlfs-security">
|
---|
[2dbd7a5f] | 9 | <?dbhtml filename="security.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Security</title>
|
---|
| 12 |
|
---|
| 13 | <para>Security takes many forms in a computing environment. This chapter
|
---|
| 14 | gives examples of three different types of security: access, prevention
|
---|
| 15 | and detection.</para>
|
---|
| 16 |
|
---|
| 17 | <para>Access for users is usually handled by <command>login</command> or an
|
---|
| 18 | application designed to handle the login function. In this chapter, we show
|
---|
| 19 | how to enhance <command>login</command> by setting policies with
|
---|
| 20 | <application>PAM</application> modules. Access via networks
|
---|
| 21 | can also be secured by policies set by <application>iptables</application>,
|
---|
[30f88917] | 22 | commonly referred to as a firewall. The Network Security Services (NSS) and
|
---|
| 23 | Netscape Portable Runtime (NSPR) libraries can be installed and shared among
|
---|
| 24 | the many applications requiring them. For applications that don't offer the
|
---|
[2dbd7a5f] | 25 | best security, you can use the <application>Stunnel</application> package to
|
---|
| 26 | wrap an application daemon inside an SSL tunnel.</para>
|
---|
| 27 |
|
---|
| 28 | <para>Prevention of breaches, like a trojan, are assisted by applications like
|
---|
| 29 | <application>GnuPG</application>, specifically the ability to confirm signed
|
---|
| 30 | packages, which recognizes modifications of the TAR ball
|
---|
| 31 | after the packager creates it.</para>
|
---|
| 32 |
|
---|
| 33 | <para> Finally, we touch on detection with a package that stores "signatures"
|
---|
| 34 | of critical files (defined by the administrator) and then regenerates those
|
---|
| 35 | "signatures" and compares for files that have been changed.</para>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="openssl.xml"/>
|
---|
| 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cracklib.xml"/>
|
---|
[9ad7046] | 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-pam.xml"/>
|
---|
[2dbd7a5f] | 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="shadow.xml"/>
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iptables.xml"/>
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="firewalling.xml"/>
|
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gnupg.xml"/>
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tripwire.xml"/>
|
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="heimdal.xml"/>
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mitkrb.xml"/>
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cyrus-sasl.xml"/>
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="stunnel.xml"/>
|
---|
[cf341b4] | 49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sudo.xml"/>
|
---|
[30f88917] | 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="nss.xml"/>
|
---|
[f45b1953] | 51 |
|
---|
| 52 | </chapter>
|
---|