Check SELinux Status on Linux Fedora using sestatus Command



Computer Configuration GNU Linux Fedora using Linux Command

 

   The command example below show the step by step to check SELinux status on Linux Fedora system.  Please note that the command status below execute to check SELinux status on the Fedora system with the SELinux is disable.

 

Check SELinux status:

Login as root user and execute sestatus command as on example below... or use su - -c "sestatus -v" and supply the root password when ask.

Check SELinux Status on Linux Fedora using sestatus command

[root@fedora ~]# sestatus -v

SELinux status:                 disabled

[root@fedora ~]#

 

Check SELinux status on SELinux enable system, you may get the following output:

[root@fedora ~]# sestatus -v

SELinux status:         enabled

SELinuxfs mount:        /selinux

Current Mode:           permissive

Policy version:         16

[root@fedora ~]#

 




0 comments: