[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 |
|
---|
[47274444] | 18 | <para>
|
---|
| 19 | Security takes many forms in a computing environment. After some
|
---|
| 20 | initial discussion, this chapter
|
---|
| 21 | gives examples of three different types of security: access, prevention
|
---|
| 22 | and detection.
|
---|
| 23 | </para>
|
---|
| 24 |
|
---|
| 25 | <para>
|
---|
| 26 | Access for users is usually handled by <command>login</command> or an
|
---|
| 27 | application designed to handle the login function. In this chapter, we show
|
---|
| 28 | how to enhance <command>login</command> by setting policies with
|
---|
| 29 | <application>PAM</application> modules. Access via networks can also be
|
---|
| 30 | secured by policies set by <application>iptables</application>, commonly
|
---|
| 31 | referred to as a firewall. The Network Security Services (NSS) and
|
---|
| 32 | Netscape Portable Runtime (NSPR) libraries can be installed and shared
|
---|
| 33 | among the many applications requiring them. For applications that don't
|
---|
| 34 | offer the best security, you can use the
|
---|
| 35 | <application>Stunnel</application> package to wrap an application daemon
|
---|
| 36 | inside an SSL tunnel.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
| 39 | <para>
|
---|
| 40 | Prevention of breaches, like a trojan, are assisted by applications like
|
---|
| 41 | <application>GnuPG</application>, specifically the ability to confirm
|
---|
| 42 | signed packages, which recognizes modifications of the tarball
|
---|
| 43 | after the packager creates it.
|
---|
| 44 | </para>
|
---|
| 45 |
|
---|
| 46 | <para>
|
---|
| 47 | Finally, we touch on detection with a package that stores "signatures"
|
---|
| 48 | of critical files (defined by the administrator) and then regenerates those
|
---|
| 49 | "signatures" and compares for files that have been changed.
|
---|
| 50 | </para>
|
---|
[2dbd7a5f] | 51 |
|
---|
[6ed5123] | 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulnerabilities.xml"/>
|
---|
[2198a32] | 53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make-ca.xml"/>
|
---|
[f1ce80b] | 54 |
|
---|
| 55 | <!-- sysv only -->
|
---|
[9014137] | 56 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consolekit.xml"/>-->
|
---|
[f1ce80b] | 57 |
|
---|
[e05cd03f] | 58 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cracklib.xml"/>
|
---|
[6dcb9e77] | 59 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cryptsetup.xml"/>
|
---|
[08f1ff7] | 60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cyrus-sasl.xml"/>
|
---|
[e05cd03f] | 61 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnupg2.xml"/>
|
---|
[7ded7e3] | 62 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnutls.xml"/>
|
---|
[b358845] | 63 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpgme.xml"/>
|
---|
[ddf46c4] | 64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="haveged.xml"/>
|
---|
[f7415c4d] | 65 | <!-- Leave in alphabetical order of now -->
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iptables.xml"/>
|
---|
| 67 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="firewalling.xml"/>
|
---|
| 68 |
|
---|
[68876b7] | 69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/>
|
---|
[7ded7e3] | 70 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="linux-pam.xml"/>
|
---|
[f1ce80b] | 71 |
|
---|
| 72 | <!-- systemd only -->
|
---|
| 73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liboauth.xml"/>
|
---|
| 74 |
|
---|
[f97d5f6] | 75 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpwquality.xml"/>
|
---|
[e05cd03f] | 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mitkrb.xml"/>
|
---|
[0c6c35d] | 77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nettle.xml"/>
|
---|
[e05cd03f] | 78 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nss.xml"/>
|
---|
[08f1ff7] | 79 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssh.xml"/>
|
---|
[b51c6f5c] | 80 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/> -->
|
---|
| 81 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl10.xml"/> -->
|
---|
[691bb91] | 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p11-kit.xml"/>
|
---|
[e05cd03f] | 83 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit.xml"/>
|
---|
[3609a85] | 84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit-gnome.xml"/>
|
---|
[08f1ff7] | 85 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
|
---|
[7a5b2e77] | 86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ssh-askpass.xml"/>
|
---|
[08f1ff7] | 87 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stunnel.xml"/>
|
---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sudo.xml"/>
|
---|
| 89 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tripwire.xml"/>
|
---|
[6dcb9e77] | 90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="volume_key.xml"/>
|
---|
[f7415c4d] | 91 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="firewalling.xml"/>
|
---|
[14c0be2f] | 92 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iptables.xml"/>
|
---|
| 93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nftables.xml"/>
|
---|
[f7415c4d] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="firewalld.xml"/>-->
|
---|
[f45b1953] | 95 |
|
---|
| 96 | </chapter>
|
---|