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>
|
|
|
|
|
2020-03-25 03:19:44 +08:00
|
|
|
<para>
|
|
|
|
Security takes many forms in a computing environment. After some
|
|
|
|
initial discussion, this chapter
|
|
|
|
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>, 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 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 packages, which recognizes modifications of the tarball
|
|
|
|
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>
|
2005-05-14 23:23:17 +08:00
|
|
|
|
2012-07-10 02:31:25 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulnerabilities.xml"/>
|
2018-02-25 07:05:35 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make-ca.xml"/>
|
2016-06-04 11:04:06 +08:00
|
|
|
|
|
|
|
<!-- sysv only -->
|
2019-07-16 03:33:13 +08:00
|
|
|
<!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consolekit.xml"/>-->
|
2016-06-04 11:04:06 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cracklib.xml"/>
|
2017-06-22 05:49:37 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cryptsetup.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"/>
|
2020-02-27 00:20:10 +08:00
|
|
|
<!-- Leave in alphabetical order of now -->
|
|
|
|
<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"/>
|
2016-06-04 11:04:06 +08:00
|
|
|
|
|
|
|
<!-- systemd only -->
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liboauth.xml"/>
|
|
|
|
|
2015-10-29 12:11:00 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpwquality.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"/>
|
2018-12-06 05:39:03 +08:00
|
|
|
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/> -->
|
|
|
|
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl10.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"/>
|
2020-04-03 02:07:58 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit-gnome.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"/>
|
2017-06-22 05:49:37 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="volume_key.xml"/>
|
2020-02-27 00:20:10 +08:00
|
|
|
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="firewalling.xml"/>
|
2019-10-25 14:28:45 +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="nftables.xml"/>
|
2020-02-27 00:20:10 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="firewalld.xml"/>-->
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</chapter>
|