Skip to content

Commit

Permalink
Merge pull request coreos#661 from endocode/kayrus/selinux
Browse files Browse the repository at this point in the history
Fixed CLI for SElinux doc (JW:TODO: nits about prompt, `readlink` v `realpath`)
  • Loading branch information
Josh Wood committed Nov 11, 2015
2 parents 0784e24 + 6869183 commit 379c307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions os/selinux.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Once you're happy that your workload is compatible with the SELinux policy,
you can temporarily enable enforcement by running the following command as
root:

* setenforce 1
* `setenforce 1`

To enable it across reboots, do the following:

* `cp --remove-destination $(readlink /etc/selinux/config) /etc/selinux/config`
* `cp --remove-destination $(realpath /etc/selinux/config) /etc/selinux/config`
* Edit `/etc/selinux/config` and replace "SELINUX=permissive" with "SELINUX=enforcing"

## Limitations
Expand Down

0 comments on commit 379c307

Please sign in to comment.