大网数据广告活动
服务器运维问答

Boolean ftp_home_dir is not defined - RHEL7.3

· 52CE 我爱测

I'm trying to configure vsftpd 3.0.2 on RHEL 7.3. I am trying to set my setsebool -P ftp_home_dir=1 to enable users access to their home dir. However I receive: Boolean ftp_home_dir is not defined This is confirmed when viewing s…

问题原文

原帖链接 · Mr.J · CC BY-SA 3.0

I'm trying to configure vsftpd 3.0.2 on RHEL 7.3. I am trying to set my setsebool -P ftp_home_dir=1 to enable users access to their home dir. However I receive:

Boolean ftp_home_dir is not defined

This is confirmed when viewing semanage boolean -l there is no ftp_home_dir.

Lines 14,15 & 16 state to check for this boolean in vsftpd.conf.

 # Uncomment this to allow local users to log in.
 # When SELinux is enforcing check for SE bool ftp_home_dir
 local_enable=YES

/data/ftp/pub/some-dir/ftpuser1...etc
[root@xxxxx ftp]# ls -lZ
drwxr-xr-x. root root unconfined_u:object_r:etc_runtime_t:s0 pub

I am lead to believe that in fixing this, it will also fix my chroot issue I am having which is an entirely separate question.

Thanks in advance!

info:

Red Hat Enterprise Linux Server release 7.3 (Maipo)
uname -a shows: 3.10.0-514.2.2.el7.x86_64 #1 SMP Wed Nov 16 13:15:13 EST 2016 x86_64 x86_64 x86_64 GNU/Linux

(Keep in mind we perform patching on a bi monthly system so updating is not an option currently).

已采纳解答

原帖链接 · Mr.J · CC BY-SA 3.0

Red Hat's Official Response:

On further investigation, I have found that mentioned booblean was removed on RHEL 7.3.

We have already filed a bugzilla for the same, BZ:1406542

https://bugzilla.redhat.com/show_bug.cgi?id=1406542 It appears that , ftp users may be able to access their home directory by default on RHEL 7.3.

If it doesn't work, set "ftpd_full_access" until this gets addressed in RHEL 7.3.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。