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