RedHat9-vsftp配置大全[5]

[入库:2005年9月21日] [更新:2007年3月24日]

本文简介:

530 未登入。 
532 储存文件需要账户登入。 
550 未执行请求的操作。 
551 请求的命令终止,类型未知。 
552 请求的文件终止,储存位溢出。 
553 未执行请求的的命令,名称不正确

 seacaptain 回复于:2004-09-16 14:47:23
是原创吗?好象在哪里看到过。

 zhong_yj 回复于:2004-09-17 23:44:02
[size=18:189abcd65b][color=red:189abcd65b][b:189abcd65b]这么复杂啊。。我还以为象windows那么简单。。[/b:189abcd65b][/color:189abcd65b][/size:189abcd65b][img][/img][url][list:189abcd65b][code:1:189abcd65b][quote][u][i][/i][/u][/quote][/code:1:189abcd65b][/list:u:189abcd65b][/url]

 zhong_yj 回复于:2004-09-17 23:45:59
[size=18:5486ff1594][color=red:5486ff1594][b:5486ff1594]这么复杂啊。。我还以为象windows那么简单。。[/b:5486ff1594][/color:5486ff1594][/size:5486ff1594][img][/img][url][list:5486ff1594][code:1:5486ff1594][quote][u][i][/i][/u][/quote][/code:1:5486ff1594][/list:u:5486ff1594][/url]

 Redhatbug 回复于:2004-09-19 06:53:02
[quote:fa6f778d12="zhong_yj"][/quote:fa6f778d12]
如果要求简单的,请回到你的windows去。linux天生就不是给人简单到windows那样,因为linux优势不在那里。

 惠繪洋 回复于:2004-09-20 12:16:57
太好了, 對我很有用. 謝謝.

 我菜我怕谁 回复于:2004-09-21 21:01:09
呵呵,是转贴,不过好东西大家分享!!!

 aspbiz 回复于:2004-09-21 21:22:09
好帖,

难得有心人整理呀。

 孤岩青竹 回复于:2004-09-25 09:12:20
呵呵不管怎么样只在对大家有好处还是多多益善!谢谢你的细心!我想大家也会和我一样的!希望继续努力!

 清水飘萍 回复于:2004-09-27 13:23:41
如何增加新用户来使用ftp 呢?

 fireheike 回复于:2004-09-29 19:29:46
vsftp只有安全,没有过人功能

 zfl 回复于:2004-10-01 20:00:39
太好了,正需要啊

 ssnake 回复于:2004-10-08 15:43:42
恩,sp一下.

 bigapple2008 回复于:2004-10-09 11:34:47
thank you

 serial0 回复于:2004-10-10 10:41:52
哎啊。好久没有玩VSFTPD了。嘿嘿,改天重温一下,更新更新笔记。

 心最寒 回复于:2004-10-25 16:03:58
顶~~~~~~~~~~~~~~~~~~~去试试看.....

 大大狗 回复于:2004-11-02 13:25:42
谢谢楼主

 andrewleading_he 回复于:2004-11-03 08:10:38
整理的不错啊,回头看看...

 jinbo0609 回复于:2004-11-04 10:55:19
3.2.3. 特定使用者peter、john 不得变更目录 
使用者的预设目录为/home/username,若是我们不希望使用者在ftp 时能够 
切换到上一层目录/home,则可参考以下步骤。 
Step1. 修改/etc/vsftpd/vsftpd.conf 
将底下三行 
#chroot_list_enable=YES 
# (default follows) 
#chroot_list_file=/etc/vsftpd.chroot_list 
改为 
chroot_list_enable=YES 
# (default follows) 
chroot_list_file=/etc/vsftpd/chroot_list 
Step2. 新增一个档案: /etc/vsftpd/chroot_list 
内容增加两行: 
peter 
john 
Step3. 重新启动vsftpd 
[root@home vsftpd]# /sbin/service vsftpd restart 
Shutting down vsftpd: OK ] 
Starting vsftpd for vsftpd: OK ] 
若是peter 欲切换到根目录以外的目录,则会出现以下警告: 
ftp> cd /home 
550 Failed to change directory.
========================================
  我进vsftpd.conf里改了,然后在vsftpd目录下生成了chroot_list的文件.
添加了用户名.  重启vsftpd, 但还是能访问根目录呢?  
    chroot_list文件我是用 vi来直接生成的.    我是菜鸟请指教

 lyking 回复于:2004-11-05 10:46:18
如果ftp的控制通道不加密的话,防火墙的教本还可以优化。

 puvttd 回复于:2004-12-26 05:52:41
顶.....正好想学学FTP

 lzj_linux 回复于:2004-12-26 18:49:08
[quote:14d8480e57="seacaptain"]是原创吗?好象在哪里看到过。[/quote:14d8480e57]

呵呵,法眼如炬呀,是精华区里的帖子
不过还是要感谢楼主的辛苦

 lzj_linux 回复于:2004-12-26 18:53:55
[quote:12a6816b9e="jinbo0609"].[/quote:12a6816b9e]

把你的vsftpd.conf内容贴出来看看

 接吻猫 回复于:2004-12-29 13:26:29
楼主真厉害,帮顶一下

 xiaoxie2005 回复于:2005-01-05 11:23:33
不错不错,多谢楼主!!!

 夜色心情 回复于:2005-01-05 17:03:36
試一下

 icecobra 回复于:2005-01-08 16:50:01
太好了,正是我来这里想找的东西。

 钟钟. 回复于:2005-01-11 14:49:15
不知道有没对vsftp虚拟用户配置有经验的,我配的vsftp的虚拟用户没有chmod的权限,我 chmod_enables 打开了,在vsftpd.conf里和虚拟用户的配置文件里都试过……

 Intranet 回复于:2005-01-11 20:07:59
謝謝```
正好想用```

 shy82228 回复于:2005-01-13 08:52:44
确实很不错,学习中!

 knox 回复于:2005-01-14 07:57:11
这文章太多了....好像都不对的..

 liqiang1027 回复于:2005-01-21 17:14:50
正需要,谢谢。

 rockally 回复于:2005-03-02 21:58:22
请问一下,我用的是RedHat 8.0,我再setup中选中了vsftp选项,然后启动vsftpd: /sbin/service vsftpd restart
为什么显示:unrecognized service,请高手帮忙,谢谢!

 ruige 回复于:2005-04-23 09:04:46
:P 
多谢楼主,真有收获呀

 sfz103 回复于:2005-04-26 22:28:50
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#

本文关键:RedHat9-vsftp配置大全
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top