Introduces basic concepts of system security, covering both local and network security aspects. Shows how to use the product inherent security software like AppArmor, SELinux, or the auditing system that reliably collects information about any security-relevant events. Supports the administrator with security-related choices and decisions in installing and setting up a secure SUSE Linux Enterprise Server and additional processes to further secure and harden that installation.
- About This Guide
- 1 Security and Confidentiality
- I Authentication
- 2 Authentication with PAM
- 3 Using NIS
- 4 Setting Up Authentication Clients Using YaST
- 5 LDAP with 389 Directory Server
- 5.1 Structure of an LDAP directory tree
- 5.2 Installing 389 Directory Server
- 5.3 Firewall configuration
- 5.4 Backing up and restoring 389 Directory Server
- 5.5 Managing LDAP users and groups
- 5.6 Using SSSD to manage LDAP authentication
- 5.7 Managing modules
- 5.8 Importing TLS server certificates and keys
- 5.9 Setting up replication
- 5.10 Synchronizing with Microsoft Active Directory
- 5.11 More information
- 6 Network Authentication with Kerberos
- 7 Active Directory Support
- 8 Setting Up a FreeRADIUS Server
- II Local Security
- 9 Physical Security
- 10 Software Management
- 11 File Management
- 12 Encrypting Partitions and Files
- 13 Storage Encryption for Hosted Applications with cryptctl
- 14 User Management
- 14.1 Various Account Checks
- 14.2 Enabling Password Aging
- 14.3 Stronger Password Enforcement
- 14.4 Password and Login Management with PAM
- 14.5 Restricting
root
Logins - 14.6 Restricting
sudo
Users - 14.7 Setting an Inactivity Timeout for Interactive Shell Sessions
- 14.8 Preventing Accidental Denial of Service
- 14.9 Displaying Login Banners
- 14.10 Connection Accounting Utilities
- 15 Restricting
cron
andat
- 16 Spectre/Meltdown Checker
- 17 Configuring Security Settings with YaST
- 18 The Polkit authentication framework
- 19 Access Control Lists in Linux
- 20 Intrusion Detection with AIDE
- III Network Security
- 21 X Window System and X Authentication
- 22 Securing network operations with OpenSSH
- 22.1 OpenSSH overview
- 22.2 Server hardening
- 22.3 Password authentication
- 22.4 Managing user and host encryption keys
- 22.5 Rotating host keys
- 22.6 Public key authentication
- 22.7 Passphrase-less public key authentication
- 22.8 OpenSSH certificate authentication
- 22.9 Automated public key logins with gnome-keyring
- 22.10 Automated public key logins in the console with ssh-agent
- 22.11 Changing an SSH private key passphrase
- 22.12 Retrieving a key fingerprint
- 22.13 Starting X11 applications on a remote host
- 22.14 Agent forwarding
- 22.15
scp
—secure copy - 22.16
sftp
—secure file transfer - 22.17 Port forwarding (SSH tunneling)
- 22.18 More information
- 23 Masquerading and Firewalls
- 24 Configuring a VPN Server
- 25 Improving Network Security with
sysctl
Variables
- IV Regulations and Compliance
- V Confining Privileges with AppArmor
- 30 Introducing AppArmor
- 31 Getting Started
- 32 Immunizing Programs
- 33 Profile Components and Syntax
- 33.1 Breaking an AppArmor Profile into Its Parts
- 33.2 Profile Types
- 33.3 Include Statements
- 33.4 Capability Entries (POSIX.1e)
- 33.5 Network Access Control
- 33.6 Profile Names, Flags, Paths, and Globbing
- 33.7 File Permission Access Modes
- 33.8 Mount Rules
- 33.9 Pivot Root Rules
- 33.10 PTrace Rules
- 33.11 Signal Rules
- 33.12 Execute Modes
- 33.13 Resource Limit Control
- 33.14 Auditing Rules
- 34 AppArmor Profile Repositories
- 35 Building and Managing Profiles with YaST
- 36 Building Profiles from the Command Line
- 37 Profiling Your Web Applications Using ChangeHat
- 38 Confining Users with
pam_apparmor
- 39 Managing Profiled Applications
- 40 Support
- 41 AppArmor Glossary
- VI SELinux
- VII The Linux Audit Framework
- 43 Understanding Linux Audit
- 43.1 Introducing the Components of Linux Audit
- 43.2 Configuring the Audit Daemon
- 43.3 Controlling the Audit System Using
auditctl
- 43.4 Passing Parameters to the Audit System
- 43.5 Understanding the Audit Logs and Generating Reports
- 43.6 Querying the Audit Daemon Logs with
ausearch
- 43.7 Analyzing Processes with
autrace
- 43.8 Visualizing Audit Data
- 43.9 Relaying Audit Event Notifications
- 44 Setting Up the Linux Audit Framework
- 45 Introducing an Audit Rule Set
- 45.1 Adding Basic Audit Configuration Parameters
- 45.2 Adding Watches on Audit Log Files and Configuration Files
- 45.3 Monitoring File System Objects
- 45.4 Monitoring Security Configuration Files and Databases
- 45.5 Monitoring Miscellaneous System Calls
- 45.6 Filtering System Call Arguments
- 45.7 Managing Audit Event Records Using Keys
- 46 Useful Resources
- 43 Understanding Linux Audit
- A Licenças GNU
- 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
- 5.1 Structure of an LDAP directory
- 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
- 13.1 Key Retrieval with
cryptctl
(Model Without Connection to KMIP Server) - 16.1 Output from spectre-meltdown-checker
- 17.1 YaST Security Center and Hardening: Security Overview
- 19.1 Minimum ACL: ACL Entries Compared to Permission Bits
- 19.2 Extended ACL: ACL Entries Compared to Permission Bits
- 23.1 iptables: A Packet's Possible Paths
- 24.1 Routed VPN
- 24.2 Bridged VPN - Scenario 1
- 24.3 Bridged VPN - Scenario 2
- 24.4 Bridged VPN - Scenario 3
- 36.1
aa-notify Message in GNOME
- 37.1 Adminer Login Page
- 43.1 Introducing the Components of Linux Audit
- 43.2 Flow Graph—Program versus System Call Relationship
- 43.3 Bar Chart—Common Event Types
- 5.1 Commonly used object classes and attributes
- 14.1 Sample rules/constraints for password enforcement
- 19.1 ACL Entry Types
- 19.2 Masking Access Permissions
- 20.1 Important AIDE Check Boxes
- 23.1 Important Sysconfig Variables for Static Port Configuration
- 40.1 Man Pages: Sections and Categories
- 43.1 Audit Status Flags
- 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 CN=schema
- 5.2 Minimal 389 Directory Server instance configuration file
- 5.3 A
.dsrc
file for local administration - 5.4 Two supplier replicas
- 5.5 Four supplier replicas
- 5.6 Six replicas
- 5.7 Six replicas with read-only consumers
- 6.1 Example KDC Configuration,
/etc/krb5.conf
- 22.1 Example sshd.conf
- 23.1 Callback Port Configuration for the
nfs
Kernel Module in/etc/modprobe.d/60-nfs.conf
- 23.2 Commands to Define a new
firewalld
RPC Service for NFS - 24.1 VPN Server Configuration File
- 24.2 VPN Client Configuration File
- 31.1 Output of
aa-unconfined
- 36.1 Learning Mode Exception: Controlling Access to Specific Resources
- 36.2 Learning Mode Exception: Defining Permissions for an Entry
- 42.1 Security context settings using
ls -Z
- 42.2 Verifying that SELinux is functional
- 42.3 Getting a list of booleans and verifying policy access
- 42.4 Getting file context information
- 42.5 The default context for directories in the root directory
- 42.6 Showing SELinux settings for processes with
ps Zaux
- 42.7 Viewing default file contexts
- 42.8 Example lines from
/var/log/audit/audit.log
- 42.9 Analyzing audit messages
- 42.10 Viewing which lines deny access
- 42.11 Creating a policy module allowing an action previously denied
- 43.1 Example output of
auditctl
-s
- 43.2 Example Audit Rules—Audit System Parameters
- 43.3 Example Audit Rules—File System Auditing
- 43.4 Example Audit Rules—System Call Auditing
- 43.5 Deleting Audit Rules and Events
- 43.6 Listing Rules with
auditctl
-l
- 43.7 A simple audit event—viewing the audit log
- 43.8 An Advanced Audit Event—Login via SSH
- 43.9 Example /etc/audisp/audispd.conf
- 43.10 Example /etc/audisp/plugins.d/syslog.conf
Copyright © 2006–2024 SUSE LLC e colaboradores. Todos os direitos reservados.
Permissão concedida para copiar, distribuir e/ou modificar este documento sob os termos da Licença GNU de Documentação Livre, Versão 1.2 ou (por sua opção) versão 1.3; com a Seção Invariante sendo estas informações de copyright e a licença. Uma cópia da versão 1.2 da licença está incluída na seção intitulada “GNU Free Documentation License” (Licença GNU de Documentação Livre).
Para ver as marcas registradas da SUSE, visite https://www.suse.com/company/legal/. Todas as marcas comerciais de terceiros pertencem a seus respectivos proprietários. Os símbolos de marca registrada (®,™ etc.) representam marcas registradas da SUSE e suas afiliadas. Os asteriscos (*) indicam marcas registradas de terceiros.
Todas as informações deste manual foram compiladas com a maior atenção possível aos detalhes. Entretanto, isso não garante uma precisão absoluta. A SUSE LLC, suas afiliadas, os autores ou tradutores não serão responsáveis por possíveis erros nem pelas consequências resultantes de tais erros.