小编Can*_*liş的帖子

setenforce:SELinux 被禁用

我在 CentOS 5 机器上,并尝试安装 vsftpd。我想配置ftp_home_dir使用,setsebool -P ftp_home_dir on但它说:

setsebool: SELinux is disabled.

我尝试使用setenforce它启用它仍然说:

setenforce: SELinux is disabled

然后我试过:

semodule -n -B

它说:

semodule: SELinux policy is not managed or store cannot be accessed.

我的配置文件:

# 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.
# …
Run Code Online (Sandbox Code Playgroud)

linux selinux centos ftp

4
推荐指数
2
解决办法
1万
查看次数

标签 统计

centos ×1

ftp ×1

linux ×1

selinux ×1