免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3765 | 回复: 4
打印 上一主题 下一主题

[FTP] solaris下架设proftpd的用户和共享 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-02-07 22:27 |只看该作者 |倒序浏览
proftp1.3.2, solaris系统;
groupadd ftp ftp  
gid=2003
我想实现: 用户组grp1 用户user1 共享的ftpshare1和grp2,user2 ftpshare2都能正常访问,但是user1不能访问ftpshare2
系统启动时候,就能访问ftp
用户管理师通过ldap认证控制的。
现在的问题是,ftp建好之后,2个用户都能访问,但是每个用户都能访问2个共享目录。。。不知道如何处理。谢谢。

如下是我的ftp.CONF信息
ServerName  " ftp server"
ServerType  standalone
DefaultServer  on
Port  21
Umask  000
MaxInstances  30
MaxClients  30
TransferRate STOR  0
TransferRate RETR  0
MaxStoreFileSize  4000 MB
# Set the user and group under which the server will run.
User  ftp
Group ftp
UseReverseDNS  off
IdentLookups  off
#LDAP
LDAPServer  127.0.0.1
#LDAPServer 192.168.0.138
LDAPDNInfo  cn=admin,dc=example,dc=com admin
LDAPDoAuth  on ou=People,dc=example,dc=com
DefaultRoot  /export/home/ftp !ftp

AllowOverwrite  on
LDAPDoUIDLookups  on ou=People,dc=example,dc=com
LDAPDoGIDLookups  on ou=Group,dc=example,dc=com
<Limit  SITE_CHMOD>
   DenyAll
</Limit>
<Anonymous  /export/home/anonymous>
   User  ftp
   Group  ftp
   UserAlias  anonymous ftp
   DisplayLogin  /usr/loca/etc/welcome.msg
   DisplayChdir  .message
   <Limit  WRITE>
      DenyAll
   </Limit>
</Anonymous>

<Limit  LOGIN>
  order  allow,deny
  Allow from all
  Deny  from all
</Limit>
<Directory  /export/home/ftp/tank_fra>
   <Limit  DIRS STOR RETR DELE RNFR MKD>
      AllowUser ftp1
   </Limit>
</Directory>
<Directory  /export/home/ftp/tank_rre>
   <Limit  DIRS STOR RETR DELE RNFR MKD>
      AllowUser ftp2
   </Limit>
</Directory>

论坛徽章:
0
2 [报告]
发表于 2010-04-11 18:03 |只看该作者
<Limit  LOGIN>
  order  allow,deny
  Allow from all
  Deny  from all


deny user1

论坛徽章:
0
3 [报告]
发表于 2010-04-16 19:48 |只看该作者
建议楼主用用 Wing FTP Server, 操作简单, 有Solaris版本

论坛徽章:
0
4 [报告]
发表于 2010-04-16 19:49 |只看该作者
建议楼主用用 Wing FTP Server, 操作简单, 有Solaris版本

论坛徽章:
0
5 [报告]
发表于 2010-05-29 17:35 |只看该作者
Wing FTP Server, 操作是简单,但是不如手动架设高效
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP