gpt4 book ai didi

ubuntu - ProFTPd 无法设置 euid

转载 作者:太空宇宙 更新时间:2023-11-03 16:58:13 27 4
gpt4 key购买 nike

我正在尝试解决这个问题:

2014-04-07 14:00:58,628 srv proftpd[10143] srv (pfsense.localdomain[192.168.0.1]): FTP session opened.
2014-04-07 14:01:13,779 srv proftpd[10091] srv (pfsense.localdomain[192.168.0.1]): Preparing to chroot to directory '/srv/user1'
2014-04-07 14:01:13,779 srv proftpd[10091] srv (pfsense.localdomain[192.168.0.1]): USER user1: Login successful.
2014-04-07 14:01:13,779 srv proftpd[10091] srv (pfsense.localdomain[192.168.0.1]): ROOT PRIVS: unable to seteuid(): Operation not permitted
2014-04-07 14:01:13,779 srv proftpd[10091] srv (pfsense.localdomain[192.168.0.1]): ROOT PRIVS: unable to setegid(): Operation not permitted
2014-04-07 14:01:13,782 srv proftpd[10091] srv (pfsense.localdomain[192.168.0.1]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted
2014-04-07 14:01:13,782 srv proftpd[10091] srv (pfsense.localdomain[192.168.0.1]): FTP session closed.

我在我的文件系统“srv”上创建了一个文件夹,其中包含“user1”、“user2”等子文件夹。

drwxrwxrwx  19 root root  4096 Mar  5 20:05 srv

每个用户的主目录设置为“user1”、“user2”等。

drwx---r-x 189 user1   users     4096 Apr  3 11:34 user1

proftp 配置文件:

Include /etc/proftpd/modules.conf
ServerName "SRV"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
DefaultRoot ~
Port 21
User proftpd
Group nogroup
Umask 022 022
AllowOverwrite on
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
Include /etc/proftpd/conf.d/
<Global>
PassivePorts 65400 65535
</Global>

更多:

Ubuntu server 13.10
Webmin 1.680
ProFTPD Version 1.3.5rc3

最佳答案

我有一个类似的问题并通过在/etc/proftpd/proftpd.conf 中将 UseIPv6 设置为关闭来纠正它

关于ubuntu - ProFTPd 无法设置 euid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22912898/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com