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