Fedora 23: semanage: command not found (even with policycoreutils)
I am trying to configure SELinux to give read/write access to samba in a specific directory (following the instructions in this question)
But I cannot get the semanage command to work. I installed policycoreutils-python, but to no avail.
which semanage
gives me
usr/bin/which:no semanage in (...)
Anything I missed?
to check SELinux status:
$ /usr/sbin/getenforce
or
$ /usr/sbin/sestatus
To temporarily change SELinux policy (use 1 at the end for enforcing and 0 for permissive). E.g.:
$ sudo /usr/sbin/setenforce 1
To changed read/write permission, I often use the chown command