The following steps are the security-related procedures that should be performed immediately after installation of Red Hat Enterprise Linux.
Update your system. enter the following command as root:
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 the kickstart configuration. In such a case, it is recommended to consider re-enabling the firewall.
firewalld enter the following commands as root:
systemctl start firewalld
systemctl enable firewalld
To enhance security, disable services you do not need. For example, if there are no printers installed on your computer, disable the
cups service using the following command:
systemctl disable cups
To review active services, enter the following command:
systemctl list-units | grep service