Re: Moving sshd listen port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux