Loading topic
systemctl and journalctl, inspect file permissions, and use sudo. You should also understand basic TCP/IP concepts, ports, and firewall rules. Practice on a disposable virtual machine rather than a production server.2 min readsudo. You should also know the server's role, operating system version, network exposure, and business requirements before selecting a benchmark.2 min readsystemd, a text editor, file permissions, basic networking, and sudo. You also need a test server or virtual machine where you can safely change configuration.2 min readsystemctl and journalctl, and use sudo. You also need a test RHEL 9 server or virtual machine. Do not test remediation commands on a production host until you understand their effect.2 min readsudo, edit configuration files, and recover a test server from a console or snapshot. Filesystem hardening reduces the damage caused by unwanted software, unsafe device files, and accidental writes. Apply changes gradually because a bad mount entry can prevent boot.2 min readsudo, systemd, users and groups, and basic networking. The examples use DNF on RHEL 9. Debian-based systems use APT, but the same principles apply.2 min readsudo, edit configuration files, and read systemd logs. This chapter uses a test Linux server. Mandatory access control (MAC) adds policy rules that restrict what processes may do, even when normal Unix permissions allow the action.2 min readsudo access to a test Linux server, understand systemd, and can recover the machine through a console or snapshot. Bootloader changes can prevent a server from starting, and firewall or SSH changes can block remote administration.1 min readsystemctl, journalctl, package managers, and basic network inspection. You also need sudo access to a test server or a maintenance window.2 min readsudo, edit configuration files, and understand basic IP networking. You should also have console access to a test server. A bad network setting can disconnect an active SSH session.2 min readsudo, edit configuration files, and identify the ports required by a service. This chapter uses nftables, the Linux packet-filtering framework. A host firewall controls traffic entering and leaving one server.2 min readsudo, edit text files, manage systemd services, and keep a second login session open. SSH hardening reduces the chance that attackers can guess credentials, reuse weak accounts, or abuse unnecessary features. Apply changes first on a test server.2 min readsudo, edit text files, and inspect systemd logs. You should also understand users, groups, file permissions, and SSH. Test these changes on a virtual machine before applying them to a production server.2 min readsudo, edit configuration files, and inspect systemd units. Test changes on a non-production server first. CIS recommendations vary by distribution, so confirm the benchmark for your Linux version before enforcing a value.2 min readsudo, edit configuration files, and use systemctl and journalctl. You should also understand Linux users, groups, and file permissions.2 min readsudo, edit configuration files, and manage packages on a test Linux server. This chapter uses AIDE, the Advanced Intrusion Detection Environment. AIDE creates a database of trusted file properties, then compares later scans with that baseline.2 min readsudo, read Linux permission strings, and work on a test server. Before changing permissions, record the current state and confirm which application owns each file.2 min read