[CentOS] Moving sshd listen port
Jonathan Billings
billings at negate.org
Wed Jul 9 16:04:37 UTC 2014
On Wed, Jul 09, 2014 at 11:57:21AM -0400, Mike McCarthy, W1NR wrote:
>
> Well, getenforce says enforcing but 'systemctl status selinux' says
> 'Active: inactive (dead)' ?
Sounds like you have SELinux enabled. It's not a service. If you
look at the line right above the Active line you pasted, you'd see a
line that said:
"Loaded: not-found (Reason: No such file or directory)"
It'll say that about anything that doesn't actually exist:
# systemctl status selinux
selinux.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
# systemctl status asasdklfjhaskdfhj
asasdklfjhaskdfhj.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
I suggest installing the policycoreutils-python package and run the
semanage command I mentioned earlier.
--
Jonathan Billings <billings at negate.org>
More information about the CentOS
mailing list