Update selinux_lab.md

This commit is contained in:
Omar Santos 2023-01-08 15:52:13 -05:00 committed by GitHub
parent 507e6f56c5
commit ca260ee1c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ SELinux defaults to denying anything that is not explicitly allowed. SELinux has
## Before You Begin
1. This guide is written for a non-root user. Commands that require elevated privileges are prefixed with `sudo`. If you're not familiar with the `sudo` command, you can check our [Users and Groups](/docs/guides/linux-users-and-groups/) guide.
{{< /note >}}
2. Update your system:
@ -60,8 +60,10 @@ When SELinux is installed on your system, it can be either *enabled* or *disable
- To disable SELinux, update your SELinux configuration file using the text editor of your choice. Set the `SELINUX` directive to `disabled` as shown in the example.
Edit `/etc/selinux/config`
```
file {title="/etc/selinux/config"}
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.