直接使用本地用户(Linux系统的用户账户)来访问vsftpd服务器可能带来安全问题,变通的方法是使用虚拟用户(virtual user)来作为专门的FTP账户。FTP虚拟用户并不是操作系统的用户账户,不能登入系统,只能访问FTP服务器,对操作系统的影响更小。虚拟用户主要用来访问提供给非信任用户,但又不适合公开的内容。
PAM(Pluggable Authentication Modu...
分类:
其他好文 时间:
2014-12-03 15:41:33
阅读次数:
178
yuminstallvsftpddb4-utils因为要使用虚拟用户登录.修改如下文件a:/etc/pam.d/vsftpd;添加两行authrequired/lib64/security/pam_userdb.sodb=/etc/vsftpd/vftpuseraccountrequired/lib64/security/pam_userdb.sodb=/etc/vsftpd/vftpuser系统64位很多网上资料写的是/lib/secur..
分类:
其他好文 时间:
2014-12-02 15:26:39
阅读次数:
115
一:简介FTP是FileTransferProtocol(文件传输协议)的缩写,用来在两台计算机之间互相传送文件。相比于HTTP,FTP协议要复杂得多。复杂的原因,是因为FTP协议要用到两个TCP连接,一个是命令链路,用来在FTP客户端与服务器之间传递命令;另一个是数据链路,用来上传或下载数据。..
分类:
系统相关 时间:
2014-11-25 19:05:10
阅读次数:
270
In Ubuntu 14.04 with Samba server installed, every time you will get this error message when execute sudo command. run sudo?pam-auth-update and unselect "SMB password synchronization", this error...
分类:
其他好文 时间:
2014-11-24 15:32:00
阅读次数:
202
1.一些Web虚拟用户脚本录制后立刻回放没有任何问题,但是当设置迭代次数大于1时,如果进行回放则只能成功迭代一次.为什么从第二次迭代开始发生错误?这种现象多是由于在"Run-time Setting"的"Browse Emulation"的设置中,勾选了"Simulate a new user on...
分类:
其他好文 时间:
2014-11-24 13:26:14
阅读次数:
172
1vi /etc/pam.d/gdm把 auth required …… root quiet这行注释掉2vi /etc/pam.d/gdm-passwd同上3 vi /etc/gdm/custom.conf在末尾增加以下:[daemon]AutomaticLoginEnable=trueAutom...
分类:
其他好文 时间:
2014-11-23 13:01:56
阅读次数:
220
今天项目需求要弄个vsftpd,根据以前的配置加了下,在启动的时候居然出现错误,瞬间蛋碎一地了:[root@mailvsftpd]#/etc/init.d/vsftpdrestart
Shuttingdownvsftpd:[FAILED]
Startingvsftpdforvsftpd:500OOPS:missingvalueinconfigfilefor:
[FAILED]经查证发现是配置文件/etc/v..
分类:
其他好文 时间:
2014-11-22 23:17:46
阅读次数:
711
查询linux内核版本 #uname -r #uname -a 查询linux系统发行版本 #cat /etc/redhat_release 查询linux的具体版本号 #cat /proc/version linux终端清屏命令: #clear 启动或关闭ftp服务 #service vsftpd...
分类:
系统相关 时间:
2014-11-21 14:15:39
阅读次数:
215
#!/bin/bash
#
FTP_USER=webadmin
FTP_DIRECTY=/var/www/html
#Install_packet
yuminstallvsftpddb4db4-devel-y
#CreateFileforDatabaseUser
cat>/etc/vsftpd/ftpvuser.txt<<EOF
webadmin
1q2w3e4r5t6ypwd
EOF
db_load-T-thash-f/etc/vsftpd/ftpvuser.txt/etc/vsftp..
分类:
其他好文 时间:
2014-11-20 23:57:10
阅读次数:
399