免费注册 查看新帖 |

Chinaunix

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

vsftpd问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-16 01:39 |只看该作者 |倒序浏览
请问一下    You have ftp site named ftp.example.com. You want to deny login as an
anonymous on your ftp
    site. Configure to deny the anonymous.You want to deny to user1 and user2
users to access files
    via ftp. Configure to deny these users.
    to access via ftp.
这题怎么做。!
我看了很久的vsftpd.conf文件。都看不出来在哪里限制user的。

论坛徽章:
0
2 [报告]
发表于 2009-12-16 04:06 |只看该作者

回复 #1 goodwell18 的帖子

仅供参考:
我用的redhat5.3 , 在编辑/etc/vsftpd/user-list,
先看一下它的说明,应该对你有帮助.

论坛徽章:
0
3 [报告]
发表于 2009-12-16 07:42 |只看该作者
/etc/vsftpd/user-list,
MAN

论坛徽章:
0
4 [报告]
发表于 2009-12-16 09:39 |只看该作者
RHEL  4.8
/etc/vsftpd.user-list
/etc/vsftpd.ftpusers

论坛徽章:
0
5 [报告]
发表于 2009-12-16 09:52 |只看该作者
You have ftp site named ftp.example.com.
1、You want to deny login as an anonymous on your ftp site. Configure to deny the anonymous.
2、You want to deny to user1 and user2 users to access files via ftp. Configure to deny these users. to access via ftp.

第一个问题,禁止匿名登录:
编辑/etc/vsftpd/vsftpd.conf,anonymous_enable=NO
第二个问题,/etc/vsftpd/ftpusers的第一行# Users that are not allowed to login via ftp
把要deny的用户的用户名写进去。

重启vsftpd后测试。

论坛徽章:
0
6 [报告]
发表于 2009-12-16 10:08 |只看该作者
/etc/vsftpd.user_list
/etc/vsftpd.ftpusers

论坛徽章:
0
7 [报告]
发表于 2009-12-16 12:33 |只看该作者
谢谢各位。我知道怎么限制用户的。还有个问题。vsftpd能不能改更目录的? 如/var/ftp/pub/我想改到。自己指定的路径

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-07-11 22:20:00
8 [报告]
发表于 2009-12-16 12:36 |只看该作者
原帖由 goodwell18 于 2009-12-16 12:33 发表
谢谢各位。我知道怎么限制用户的。还有个问题。vsftpd能不能改更目录的? 如/var/ftp/pub/我想改到。自己指定的路径

man vsftpd.conf
现在大学生怎么都不喜欢自己找答案呢?

论坛徽章:
0
9 [报告]
发表于 2009-12-16 12:56 |只看该作者
/etc/vsftpd/ftpusers

这个里面的用户是禁止登陆的用户信息

论坛徽章:
0
10 [报告]
发表于 2009-12-16 13:04 |只看该作者
原帖由 goodwell18 于 2009-12-16 12:33 发表
谢谢各位。我知道怎么限制用户的。还有个问题。vsftpd能不能改更目录的? 如/var/ftp/pub/我想改到。自己指定的路径


grep "ftp" /etc/passwd
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP