Posts

Showing posts from February, 2018

How to disable selinux permanently in RHEL 7X

Image
Selinux will need to be disabled by editing /etc/selinux/config Step1- Open file vi /etc/selinux/config Before disable selinux command output will as below- Step2-   Set the line SELINUX=enforcing to SELINUX=disabled after that reboot system to reflecting these changes. Step3-   To check status run the below command.  Command- getenforce (Here result will come with status disabled) It's done.

How to Disable Firewall in RHEL 7.4

Image
Follow below Steps for completing this task. 1) First of all check the status of the firewalld service Command- systemctl status firewalld.service OutPut- The status displays as active (running) or inactive (dead) 2) If the firewall is active / running, enter this command to stop it Command- systemctl stop firewalld.service 3) To completely disable the firewalld service, so it does not reload when you restart the host machine Command- systemctl disable firewalld.service 4) After that verify the status of Firewall Service Command-systemctl status firewalld.service Output-The status should display as disabled and inactive (dead) firewalld.service - firewalld - dynamic firewall daemon   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)   Active: inactive (dead)