我在 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)