Questo contenuto non è disponibile nella lingua selezionata.
Chapter 18. Securing your system
You must secure your Red Hat Enterprise Linux system after completing the installation process.
Prerequisites
- You have completed the graphical installation.
Procedure
To update your system, run the following command as root:
# dnf update
Even though the firewall service,
firewalld
, is automatically enabled with the installation of Red Hat Enterprise Linux, there are scenarios where it might be explicitly disabled, for example in a Kickstart configuration. In that scenario, you re-enable the firewall.To start
firewalld
, run the following commands as root:# systemctl start firewalld # systemctl enable firewalld
To enhance security, disable services that you do not need. For example, if your system has no printers installed, disable the cups service using the following command:
# systemctl mask cups
To review active services, run the following command:
$ systemctl list-units | grep service