Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How will check selinux status?

user-image
Question ajoutée par Muhammad Anzar , DevOps/DevSecOps Architect , Confidential
Date de publication: 2015/02/07
Rajesh Pant
par Rajesh Pant , System Engineer , Tech Mahindra Limited

Check the SELINUX status by executing anyone below :

#sestatus

Or

#getenforce

Or

#cat /etc/selinux/config

 

Hesham Allam
par Hesham Allam , Technical Manager, Business Automation , Advansys-ESC

getenforce command will help you checking whether SElinux enabled, disabled or in permissive mode 

Inayathullah shaik
par Inayathullah shaik , Senior Oracle Apps DBA , AlJeri Transportation Company

#sestatus and #getenforce will show permissive, enabled or disabled mode

Amr Mohamed Abdo Eissa
par Amr Mohamed Abdo Eissa , Senior AIX System Engineer , Data & Transaction Services

#getenforce    display the current selinux status 

#getenforce, #sestatus, cat /etc/selinux/config

By typing command sestatus in command shell

Pulkit  Singh
par Pulkit Singh , Redhat Instructor , SPECTRUM NETWORKS PVT.LTD.

you can check the status with the command and by reading a file also:

1.) #getenforce

2.) #vim /etc/selinux/config

#getenforce

or

#vim /etc/selinux/config

Majd Jama'ah
par Majd Jama'ah , Devops Infrastructure Engineer , Opensooq

getenforce or check /etc/selinux/config

PraSanna KuMar ReDdy
par PraSanna KuMar ReDdy , Cloud Engineer , PowerUpCloud Technologies Pvt Ltd.

#Sestatus  ----DIsplay the selinux status

OR

#getenforce

OR

#/etc/selinux/config

syed raza abbas naqvi
par syed raza abbas naqvi , Manager , FLEX DUBAI

go to the /etc/selinux/config

check whether it is enabled or disable

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?