≡ Menu

SELinux

In SELinux, one of the frequent task that you may do is to change the security context of an object. For this, you’ll use chcon command. chcon stands for Change Context. This command is used to change the SELinux security context of a file. This tutorial explains the following chcon command examples: Change the Full [...]

{ 1 comment }

3 SELinux sestatus Command Output Explained with Examples

sestatus stands for SELinux status. This command is used to view the current status of the SELinux that is running on your system. This tutorial explains the following: sestatus Command Output Explained with Details Display Selected Objects Security Context in sestatus Display Boolean Values in sestatus 1. sestatus Command Output Explained sestatus command will display [...]

{ 0 comments }

On your Linux server, having proper SELinux security context for files and directories is very important. When you add your custom file to a directory that is already managed by SELinux policy, and if your custom file doesn’t have the proper SELinux context, then you will not get the expected result. restorecon stands for Restore [...]

{ 1 comment }