您的位置:首页 > 运维架构 > Linux

centos出现这个错误:Job for sshd.service failed because the control process exited with error code.

2018-03-30 21:11 1521 查看
这是因为SElinux启用了,关闭就好了。在/etc/selinux/config文件中如下修改,设置SELINUX=disabled

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐