question archive Indicate the commands to turn off and then disable the Fedora firewall service, as well as the command to temporarily disable SE Linux (during a log-on session)
Subject:Computer SciencePrice:2.87 Bought7
Indicate the commands to turn off and then disable the Fedora firewall service, as well as the command to temporarily disable SE Linux (during a log-on session). Issue all these commands on your system. What commands should you then issue to verify that all steps were successful? (copy in the results of the verification commands to this document)
Answer:
The command to stop and then disable FEDORA LINUX SERVICES:
# stop service
type [root@localhost ~]
* systemctl stop firewalld
# disable service
[root@localhost ~]
*systemctl disable firewalld
For Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
For FEDORA /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Those are the command and for SE Linux
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
# restart computer to apply changes
[root@localhost ~]# reboot
and then you can turn it off using the following command: #chkconfig firewalld off. Theen restart your machine and its done. this way you will turn off the firewalld service from run levels so it wont get started when you boot the machine.
reference
https://www.server-world.info/en/note?os=Fedora_33&p=initial_conf&f=2