Introduces basic concepts of system security, covering both local and network security aspects. Shows how to use the product inherent security software like AppArmor or the auditing system that reliably collects information about any security-relevant events.
- About This Guide
- 1 Security and Confidentiality
- I Authentication
- II Local Security
- III Network Security
- IV Confining Privileges with AppArmor
- 20 Introducing AppArmor
- 21 Getting Started
- 22 Immunizing Programs
- 23 Profile Components and Syntax
- 24 AppArmor Profile Repositories
- 25 Building and Managing Profiles with YaST
- 26 Building Profiles from the Command Line
- 27 Profiling Your Web Applications Using ChangeHat
- 28 Confining Users with
pam_apparmor
- 29 Managing Profiled Applications
- 30 Support
- 31 AppArmor Glossary
- V SELinux
- VI The Linux Audit Framework
- 33 Understanding Linux Audit
- 33.1 Introducing the Components of Linux Audit
- 33.2 Configuring the Audit Daemon
- 33.3 Controlling the Audit System Using
auditctl
- 33.4 Passing Parameters to the Audit System
- 33.5 Understanding the Audit Logs and Generating Reports
- 33.6 Querying the Audit Daemon Logs with
ausearch
- 33.7 Analyzing Processes with
autrace
- 33.8 Visualizing Audit Data
- 33.9 Relaying Audit Event Notifications
- 34 Setting Up the Linux Audit Framework
- 35 Introducing an Audit Rule Set
- 35.1 Adding Basic Audit Configuration Parameters
- 35.2 Adding Watches on Audit Log Files and Configuration Files
- 35.3 Monitoring File System Objects
- 35.4 Monitoring Security Configuration Files and Databases
- 35.5 Monitoring Miscellaneous System Calls
- 35.6 Filtering System Call Arguments
- 35.7 Managing Audit Event Records Using Keys
- 36 Useful Resources
- 33 Understanding Linux Audit
- A Achieving PCI DSS Compliance
- B GNU licenses
- 3.1 NIS Server Setup
- 3.2 Master Server Setup
- 3.3 Changing the Directory and Synchronizing Files for a NIS Server
- 3.4 NIS Server Maps Setup
- 3.5 Setting Request Permissions for a NIS Server
- 3.6 Setting Domain and Address of a NIS Server
- 4.1 YaST Authentication Server Configuration
- 4.2 YaST LDAP Server—New Database
- 4.3 YaST Kerberos Authentication
- 4.4 YaST Editing Authentication Server Configuration
- 4.5 YaST Authentication Server Database Configuration
- 5.1 Structure of an LDAP Directory
- 5.2 Window
- 6.1 Kerberos Network Topology
- 6.2 Window
- 7.1 Schema of Winbind-based Active Directory Authentication
- 7.2 Main Window of
- 7.3 Enrolling into a Domain
- 7.4 Configuration Window of
- 7.5 Determining Windows Domain Membership
- 7.6 Providing Administrator Credentials
- 8.1 Output from spectre-meltdown-checker
- 9.1 YaST Security Center and Hardening: Security Overview
- 11.1 Minimum ACL: ACL Entries Compared to Permission Bits
- 11.2 Extended ACL: ACL Entries Compared to Permission Bits
- 16.1 iptables: A Packet's Possible Paths
- 16.2 Firewall Configuration: Allowed Services
- 17.1 Routed VPN
- 17.2 Bridged VPN - Scenario 1
- 17.3 Bridged VPN - Scenario 2
- 17.4 Bridged VPN - Scenario 3
- 18.1 YaST CA Module—Basic Data for a Root CA
- 18.2 YaST CA Module—Using a CA
- 18.3 Certificates of a CA
- 18.4 YaST CA Module—Extended Settings
- 26.1
aa-notify Message in GNOME
- 27.1 Adminer Login Page
- 32.1 Selecting all SELinux Packages in YaST
- 33.1 Introducing the Components of Linux Audit
- 33.2 Flow Graph—Program versus System Call Relationship
- 33.3 Bar Chart—Common Event Types
- 2.1 PAM Configuration for sshd (
/etc/pam.d/sshd
) - 2.2 Default Configuration for the
auth
Section (common-auth
) - 2.3 Default Configuration for the
account
Section (common-account
) - 2.4 Default Configuration for the
password
Section (common-password
) - 2.5 Default Configuration for the
session
Section (common-session
) - 2.6 pam_env.conf
- 5.1 Excerpt from schema.core
- 5.2 An LDIF File
- 5.3 ldapadd with example.ldif
- 5.4 LDIF Data for Tux
- 5.5 Modified LDIF File tux.ldif
- 17.1 VPN Server Configuration File
- 17.2 VPN Client Configuration File
- 21.1 Output of
aa-unconfined
- 26.1 Learning Mode Exception: Controlling Access to Specific Resources
- 26.2 Learning Mode Exception: Defining Permissions for an Entry
- 32.1 Security Context Settings Using
ls -Z
- 32.2 Verifying that SELinux is functional
- 32.3 Getting a List of Booleans and Verifying Policy Access
- 32.4 Getting File Context Information
- 32.5 The default context for directories in the root directory
- 32.6 Showing SELinux settings for processes with
ps Zaux
- 32.7 Viewing Default File Contexts
- 32.8 Example Lines from
/etc/audit/audit.log
- 32.9 Analyzing Audit Messages
- 32.10 Viewing Which Lines Deny Access
- 32.11 Creating a Policy Module Allowing an Action Previously Denied
- 33.1 Example output of
auditctl
-s
- 33.2 Example Audit Rules—Audit System Parameters
- 33.3 Example Audit Rules—File System Auditing
- 33.4 Example Audit Rules—System Call Auditing
- 33.5 Deleting Audit Rules and Events
- 33.6 Listing Rules with
auditctl
-l
- 33.7 A Simple Audit Event—Viewing the Audit Log
- 33.8 An Advanced Audit Event—Login via SSH
- 33.9 Example /etc/audisp/audispd.conf
- 33.10 Example /etc/audisp/plugins.d/syslog.conf
Copyright © 2006–2024 SUSE LLC and contributors. All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”.
For SUSE trademarks, see https://www.suse.com/company/legal/. All third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its affiliates. Asterisks (*) denote third-party trademarks.
All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its affiliates, the authors nor the translators shall be held liable for possible errors or the consequences thereof.