V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
StackGao
V2EX  ›  Linux

请教一个 proftpd 添加用户目录的问题.

  •  
  •   StackGao · 2014-11-01 18:11:00 +08:00 · 2472 次点击
    这是一个创建于 3476 天前的主题,其中的信息可能已经有所发展或是发生改变。
    需求是给让abc这个用户可以访问/etc/dir/这个目录

    在proftpd.conf这个文件里需要怎么写呢? 谢谢大家!



    官方文档又是limit又是Dir一大堆,头都看晕了.
    3 条回复    2014-11-02 23:52:29 +08:00
    momogzp
        1
    momogzp  
       2014-11-01 18:55:52 +08:00
    友情帮顶
    rex1901
        2
    rex1901  
       2014-11-02 17:49:11 +08:00   ❤️ 1
    <Directory /etc/dir>
    <Limit ALL>
    order allow,deny
    AllowUser abc
    DenyAll
    </Limit>
    </Directory>
    StackGao
        3
    StackGao  
    OP
       2014-11-02 23:52:29 +08:00
    @rex1901 you are great
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5545 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:13 · PVG 15:13 · LAX 00:13 · JFK 03:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.