1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <chapter id="postlfs-security">
|
---|
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>,
|
---|
22 | commonly referred to as a firewall. For applications that don't offer the
|
---|
23 | best security, you can use the <application>Stunnel</application> package to
|
---|
24 | wrap an application daemon inside an SSL tunnel.</para>
|
---|
25 |
|
---|
26 | <para>Prevention of breaches, like a trojan, are assisted by applications like
|
---|
27 | <application>GnuPG</application>, specifically the ability to confirm signed
|
---|
28 | packages, which recognizes modifications of the TAR ball
|
---|
29 | after the packager creates it.</para>
|
---|
30 |
|
---|
31 | <para> Finally, we touch on detection with a package that stores "signatures"
|
---|
32 | of critical files (defined by the administrator) and then regenerates those
|
---|
33 | "signatures" and compares for files that have been changed.</para>
|
---|
34 |
|
---|
35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="openssl.xml"/>
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cracklib.xml"/>
|
---|
37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-pam.xml"/>
|
---|
38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="shadow.xml"/>
|
---|
39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iptables.xml"/>
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="firewalling.xml"/>
|
---|
41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gnupg.xml"/>
|
---|
42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tripwire.xml"/>
|
---|
43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="heimdal.xml"/>
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mitkrb.xml"/>
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cyrus-sasl.xml"/>
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="stunnel.xml"/>
|
---|
47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sudo.xml"/>
|
---|
48 |
|
---|
49 | </chapter>
|
---|