vsftpd ubuntu系统搭建
来源:互联网 发布:关于网络的诗歌 编辑:程序博客网 时间:2024/06/11 05:09
1.安装命令
sudo apt-get install vsftpd
2. ftp 配置文件
listen=YES//监听端口 anonymous_enable=NO //匿名登录 local_enable=YES //本地登录 write_enable=YES//写权限 local_umask=022//建立新目录的权限 ssl_enable=NO//无ssl加密 chroot_local_user=YES allow_writeable_chroot=YES userlist_enable=YES //通过用户 userlist_deny=NO//拒绝用户 userlist_file=/etc/allowed_users//限制文件 utf8_filesystem=YES//文件编码
其它配置默认就行
3. 创建限制访问用户文件
vim /etc/allowed_users
添加一行 ftp_user
4.创建单独的ftp用户
useradd -d /data/ftp ftp_user passwd ftp_user xxxx xxxx
5.使用户能够登录
vim /etc/passwd
找到新增的用户在末尾添加:/bin/bash
6.启动ftp 服务器:
本地测试一下:
ftp 127.0.0.1用户名:ftp_user密码: xxxx
没有报错就ok了
推荐一个客户端软件File Zilla
注意:
1.在使用ftp服务器确保21端口可用,
2.当客户端出现刚连接上就断掉的现象:尝试将模式改成主动模式
FileZilla-设置-FTP-主动
阅读全文
1 0
- vsftpd ubuntu系统搭建
- ubuntu 14.04 搭建vsftpd
- Ubuntu下使用vsftpd搭建FTP服务器
- Ubuntu中用vsftpd搭建FTP服务器笔记
- Ubuntu下FTP服务器搭建笔记 - vsftpd
- ubuntu下使用vsftpd搭建ftp服务器
- (转)Ubuntu中用vsftpd搭建FTP服务器
- Ubuntu搭建FTP(vsftpd)文件服务器
- Ubuntu 下搭建vsftpd(ftp服务器)
- Ubuntu虚拟机系统下安装配置vsftpd
- Ubuntu系统下vsftpd的安装
- Ubuntu系统下vsftpd的安装
- Ubuntu系统下vsftpd的安装
- debian(ubuntu) 系统 vsftpd 配置虚拟帐号
- Ubuntu系统中vsftpd服务安装
- Ubuntu vsftpd
- ubuntu-vsftpd
- 在Ubuntu下使用vsftpd搭建FTP服务器
- Linux的学习笔记06:批量创建用户的脚本
- openGL 顶点属性插值
- CCF 201503-2 数字排序
- Java中maven的使用
- TCP和UDP的区别
- vsftpd ubuntu系统搭建
- 【DDD】领域驱动设计实践 —— 业务建模小招数
- Excel图表—泊松分布函数的概率分布图的绘制
- A general approach to backtracking questions in Java (Subsets, Permutations, Combination Sum, Palind
- 西瓜书《机器学习》课后答案——Chapter3_3.4
- Linux内核之mmap()内存映射函数
- 记录一次SpringBoot Error creating bean with name 'xxxx'
- 传统socket服务端
- Spring配置并写出一个实例