2004-06-10 13:47:11 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-10 13:47:11 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
2007-01-19 03:38:19 +08:00
|
|
|
<!--
|
|
|
|
$LastChangedBy$
|
|
|
|
$Date$
|
|
|
|
-->
|
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
<chapter id="postlfs-security">
|
2005-05-14 23:23:17 +08:00
|
|
|
<?dbhtml filename="security.html"?>
|
|
|
|
|
|
|
|
<title>Security</title>
|
|
|
|
|
2012-07-10 02:31:25 +08:00
|
|
|
<para>Security takes many forms in a computing environment. After some
|
|
|
|
initial discussion, this chapter
|
2005-05-14 23:23:17 +08:00
|
|
|
gives examples of three different types of security: access, prevention
|
|
|
|
and detection.</para>
|
|
|
|
|
|
|
|
<para>Access for users is usually handled by <command>login</command> or an
|
|
|
|
application designed to handle the login function. In this chapter, we show
|
|
|
|
how to enhance <command>login</command> by setting policies with
|
|
|
|
<application>PAM</application> modules. Access via networks
|
|
|
|
can also be secured by policies set by <application>iptables</application>,
|
2006-01-23 12:34:54 +08:00
|
|
|
commonly referred to as a firewall. The Network Security Services (NSS) and
|
|
|
|
Netscape Portable Runtime (NSPR) libraries can be installed and shared among
|
|
|
|
the many applications requiring them. For applications that don't offer the
|
2005-05-14 23:23:17 +08:00
|
|
|
best security, you can use the <application>Stunnel</application> package to
|
|
|
|
wrap an application daemon inside an SSL tunnel.</para>
|
|
|
|
|
|
|
|
<para>Prevention of breaches, like a trojan, are assisted by applications like
|
|
|
|
<application>GnuPG</application>, specifically the ability to confirm signed
|
2006-04-28 08:25:04 +08:00
|
|
|
packages, which recognizes modifications of the tarball
|
2005-05-14 23:23:17 +08:00
|
|
|
after the packager creates it.</para>
|
|
|
|
|
|
|
|
<para> Finally, we touch on detection with a package that stores "signatures"
|
|
|
|
of critical files (defined by the administrator) and then regenerates those
|
|
|
|
"signatures" and compares for files that have been changed.</para>
|
|
|
|
|
2012-07-10 02:31:25 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulnerabilities.xml"/>
|
2013-02-12 02:51:17 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cacerts.xml"/>
|
2011-11-05 05:03:36 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consolekit.xml"/>
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cracklib.xml"/>
|
2011-11-05 05:03:36 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cyrus-sasl.xml"/>
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnupg2.xml"/>
|
2012-05-17 00:39:28 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnutls.xml"/>
|
2010-08-29 14:03:39 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpgme.xml"/>
|
2014-03-17 05:29:50 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="haveged.xml"/>
|
2012-05-17 00:39:28 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iptables.xml"/>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="firewalling.xml"/>
|
2013-10-22 02:54:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/>
|
2012-05-17 00:39:28 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="linux-pam.xml"/>
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mitkrb.xml"/>
|
2011-11-11 06:12:32 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nettle.xml"/>
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nss.xml"/>
|
2011-11-05 05:03:36 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssh.xml"/>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/>
|
2012-02-08 08:36:11 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p11-kit.xml"/>
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit.xml"/>
|
2011-11-05 05:03:36 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
|
2014-01-09 01:56:18 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ssh-askpass.xml"/>
|
2011-11-05 05:03:36 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stunnel.xml"/>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sudo.xml"/>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tripwire.xml"/>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</chapter>
|