- 浏览: 743627 次
- 性别:
- 来自: 湖北
-
文章分类
最新评论
-
SE_XiaoFeng:
用mysqldump命令行导出。这个报错唉。错误提示信息如下: ...
linux下如何导入导出MySQL数据库 -
SE_XiaoFeng:
文章写的干脆了当,我喜欢!
linux下如何导入导出MySQL数据库 -
niky6688:
网站咋打不开呢
beckham herms birki ...
【原创】上周给公司新做了一个网站,请大家审阅! -
niky6688:
哈哈
new chanel bags 2012
burbe ...
今天我抢了一个咪咪??? -
ydsakyclguozi:
...
jsp资源管理器也可能是木马
VSFTPD的文件结构是很简洁的,主要包括:
/usr/sbin/local/vsftpd(tar方式) /usr/sbin/vsftpd(rpm方式)VSFTPD主程序
/etc/rc.d/init.d/vsftpd ---- 启动脚本(rpm安装方式才会有)
/etc/vsftpd.conf(tar方式)/etc/vsftpd/vsftpd.conf(rpm方式)主配置文件
/etc/pam.d/vsftpd(rpm安装方式)---- PAM认证文件(注:tar方式,需手动复制)
/etc/vsftpd.ftpusers(rpm安装方式才有)---- 禁止使用VSFTPD的用户列表文件
/etc/vsftpd.user_list(rpm方式才有)---- 禁止或允许使用VSFTPD的用户列表
1.安装
#rpm -ivh vsftpd-2.0.1-5.i386.rpm
2.配置/etc/vsftpd/vsftpd.conf
注意: 附件中有vsftp的rpm包 及 vsftpd 的完整配置文件下载到/etc/下直接用
/usr/sbin/local/vsftpd(tar方式) /usr/sbin/vsftpd(rpm方式)VSFTPD主程序
/etc/rc.d/init.d/vsftpd ---- 启动脚本(rpm安装方式才会有)
/etc/vsftpd.conf(tar方式)/etc/vsftpd/vsftpd.conf(rpm方式)主配置文件
/etc/pam.d/vsftpd(rpm安装方式)---- PAM认证文件(注:tar方式,需手动复制)
/etc/vsftpd.ftpusers(rpm安装方式才有)---- 禁止使用VSFTPD的用户列表文件
/etc/vsftpd.user_list(rpm方式才有)---- 禁止或允许使用VSFTPD的用户列表
1.安装
#rpm -ivh vsftpd-2.0.1-5.i386.rpm
2.配置/etc/vsftpd/vsftpd.conf
# 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=NO # # 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=NO # # Uncomment this if you want the anonymous FTP user to be able to create # new directories. ##########是否允许匿名用户创建目录 anon_mkdir_write_enable=NO ###########如果设为YES,匿名登入者会被允许更多于上传与建立目录之外的权限,譬如删除 anon_other_write_enable=NO # # Activate directory messages - messages given to remote users when they # go into a certain directory. ###########进入目录时显示此目录下由message_file选项指定的文本文件 dirmessage_enable=YES # # Activate logging of uploads/downloads. #############使用上传/下载日志,日志文件默认为/var/log/vsftpd.log 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_uploads=YES ########指定匿名用户上传文件的所有者 chown_username=root # # You may override where the log file goes if you like. The default is shown # below. ############保存日志文件 xferlog_file=/usr/app/log/vsftpd.log # # If you want, you can have your log file in standard ftpd xferlog format #########日志使用标准xferlog格式 xferlog_std_format=NO # # 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 # # Enable this and the server will recognise asynchronous ABOR requests. Not # recommended for security (the code is non-trivial). Not enabling it, # however, may confuse older FTP clients. #async_abor_enable=YES # # By default the server will pretend to allow ASCII mode but in fact ignore # the request. Turn on the below options to have the server actually do ASCII # mangling on files when in ASCII mode. # Beware that on some FTP servers, ASCII support allows a denial of service # attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd # predicted this attack and has always been safe, reporting the size of the # raw file. # ASCII mangling is a horrible feature of the protocol. ##########管控是否可用ASCII 模式下载。默认值为NO #ascii_upload_enable=YES #ascii_download_enable=YES # # You may fully customise the login banner string: ########login时的欢迎信息 ftpd_banner= Welcome...... # # You may specify a file of disallowed anonymous e-mail addresses. Apparently # useful for combatting certain DoS attacks. #deny_email_enable=YES # (default follows) #banned_email_file=/etc/vsftpd/banned_emails # # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). ###########决定vsftpd用户可以执行chroot操作,即改变其家目录操作 chroot_list_enable=NO #########该文件中列举了可以执行chroot操作的用户名单 chroot_list_file=/etc/vsftpd/chroot_list ###########决定vsftpd的本地用户只能在其家目录 chroot_local_user=YES ##########设置用户登录后所在的目录 local_root=/usr/ftp_home # # You may activate the "-R" option to the builtin ls. This is disabled by # default to avoid remote users being able to cause excessive I/O on large # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume # the presence of the "-R" option, so there is a strong case for enabling it. #ls_recurse_enable=YES # # When "listen" directive is enabled, vsftpd runs in st
注意: 附件中有vsftp的rpm包 及 vsftpd 的完整配置文件下载到/etc/下直接用
- vsftpd.zip (3.7 KB)
- 下载次数: 19
- vsftpd-2.0.5-12.el5.i386.zip (127.3 KB)
- 下载次数: 21
发表评论
-
【原创】破解Red Hat Enterprise Linux 5的root密码(傻瓜解决法)
2010-01-12 14:19 4282关于如何修改root密码,本人在网上看了很多帖子, ... -
iptables设置大全
2010-01-12 09:36 1172对于Internet上的系统 ... -
Linux 脚本编写基础
2010-01-12 09:34 9521. Linux 脚本编写基础 1.1 ... -
linux下tomcat最容易忽视的漏洞
2010-01-11 18:11 1894项目中需要对安全问题引起足够的重视,比如下列tomcat的安全 ... -
Linux下查看TOMCAT控制台
2010-01-08 17:57 1963$ ./catalina.sh run 就可以了。 ... -
禁止普通用户su 切换到root
2010-01-07 14:46 1782编辑/etc/pam.d/su 文件 #%PAM-1.0 a ... -
linux系统整体监控脚本
2010-01-07 11:37 1737os平台:redhat linux 5 作为DBA要时刻注意 ... -
cron,linux定时执行工具详解及实例
2010-01-06 18:38 2296cron是一个linux下的定时执行工具,可以在无需人 ... -
Linux 查看网卡流量
2010-01-06 12:01 1759我的系统式RHEL5. 在linux下, ... -
如何装xp,linux双系统(不用虚拟机)
2010-01-05 16:49 2040前提是:硬盘上至少2个主分区(推荐一个512-1024MB的S ... -
Linux文件属性、权限设置
2010-01-04 15:35 1754Linux文件属性、权限设置 文件属性和权限 ... -
linux安全手册
2009-12-29 17:54 102912、"/etc/services&q ... -
查看linux系统信息的命令
2009-12-29 11:45 927系统 # uname -a # ... -
Linux下常用压缩格式的压缩与解压方法
2009-12-23 11:34 860.tar 解包: tar xvf FileNam ... -
jk方法实现linux下apache2.2和tomcat5.5整合
2009-12-22 21:49 1567、准备,下载需要的文件。这里假定你已经正确安装配置好了JDK。 ... -
[转+总结]Linux虚拟系统安装VMware Tools总结
2009-12-22 14:33 929转自中国网络 一、VMware Tools安装手记(For L ... -
Red Hat Enterprise Linux 5安装图解
2009-12-22 10:04 2175Linux发展到今天,我个人认为已经是一个很成熟的操作系统。最 ... -
linux 的启动过程(转)
2009-12-22 10:02 789系统启动 1、系统加电 2、BIOS 自检 → 本地设备枚 ... -
Linux Shell命令集锦
2009-12-21 17:51 1356adduser 创建新的用户账户 alias ... -
inux目录架构
2009-12-21 13:21 879/ 根目录 /bin 常用的命令 binary ...
相关推荐
### Linux下的vsftp配置 #### 一、Vsftp简介与安装 **Vsftp**(Very Secure FTP)是一款在Linux系统中广泛使用的FTP服务器软件。它提供了高性能、可扩展且安全的文件传输服务。Vsftp的设计重点在于安全性,适用于...
一旦VSFTPD配置完成,你需要在iptables防火墙规则中打开FTP端口(通常为20和21),以及数据传输可能使用的端口范围,例如被动模式下的49152-49251。 总的来说,VSFTPD的安装和配置涉及系统管理、网络服务、安全...
在Linux环境下,安装和配置vsftp是管理员必须掌握的技能,包括设置用户权限、限制访问目录以及开启SSL连接等。 再者,PuTTY是一款免费的SSH(Secure Shell)客户端,用于远程登录到Linux或Unix服务器。它提供了...
本文将详细介绍如何在Linux环境下安装和配置vsftp。 首先,我们来看看提供的压缩包文件。`vsftpd-2.0.5-16.el5_4.1.i386.rpm` 是vsftp的一个特定版本的RPM包,适用于基于Red Hat Enterprise Linux 5的系统。RPM是...
Linux 服务器 VsFtp 安装配置详解 Linux 服务器是一种常用的服务器操作系统,而 VsFtp 是一种流行的 FTP 服务器软件。本文将详细介绍 Linux 服务器上 VsFtp 的安装、启动、关闭、重启和配置文件设置等内容。 一、...
### 构建Red Hat Linux下的VSFTP服务器实现与主机共享 #### 一、概述 本文档将详细介绍如何在Red Hat Linux环境下搭建VSFTP服务器,并通过该服务器实现与主机(通常指Windows系统)之间的资源共享。相较于Samba...
Vsftp的PASV mode(被动模式传送)和Port模式及 Linux下VsFTP配置全方案,需要配置Linux下的FTP很有用
1. 安装vsftpd 3.0.2 yum install vsftpd-3.0.2-xx.rpm 2. 启动/重启/关闭vsftpd systemctl start vsftpd.service systemctl restart vsftpd.service systemctl stop vsftpd.service
### Linux下vsftp的搭建及quota的使用 #### 一、vsftp的搭建与配置 在Linux环境下构建vsftp服务器并实现quota限制是一项常见的网络管理任务。以下是对给定文件内容的深入解析与扩展。 ##### 1. 安装vsftp工具 在...
"LINUX下vsftp设置" vsftpd是一款非常安全且快速的FTP服务器,在UNIX/Linux中广泛应用。相比于本地用户,虚拟用户只是相对于FTP服务器而言才有的用户,虚拟用户只能访问FTP服务器所提供的资源,这大大增强系统本身...
在Linux环境下,VSFTP通过编辑`/etc/vsftpd/ftpusers`文件来实现这一功能。将需要禁止的用户名添加到文件末尾,例如在上述步骤中,将用户SZJ1添加到文件后,该用户将无法通过FTP登录服务器。当尝试用SZJ1登录时,...
在没有网络连接的情况下,通过离线安装包进行VSFTPD的安装是一个常见需求,特别是对于那些需要在隔离环境或服务器集群中部署FTP服务的管理员而言。以下是一个详细的离线安装步骤,基于提供的描述进行展开。 首先,...
Linux 下 vsftpd 安装搭建 vsftpd 是一个在 Linux 发行版中最受推崇的 FTP 服务器程序,特点是小巧轻快、安全易用。vsftpd 的名字代表”very secure FTP daemon”,安全是它的开发者 Chris Evans 考虑的首要问题之...
3.开始安装:yum install vsftp;(接下来的步骤可能要询问:Is that ok?,直接回应yes就可以了);安装完了会显示 Complete! 4.再次检查ftp是否安装上了:rpm -qa|grep vsftp; 5.检查ftp配置是否开启:chkconfig --list...
Linux下的vsftp(Very Secure FTP)是一款广泛使用的FTP服务器软件,尤其在Unix/Linux环境中因其安全性、稳定性和高效性而备受青睐。这篇文档将详细介绍如何在Linux系统中配置vsftp,包括三种主要的运行模式:匿名...
### Linux VSFTP服务器详细配置知识点 #### 一、Linux FTP服务器分类 Linux系统下的FTP服务主要...以上内容覆盖了Linux环境下VSFTP服务器的基本配置方法及相关知识点,对于搭建稳定可靠的FTP服务具有较高的参考价值。