使用vsftpd中的一些小问题

1、目录权限不能给777 2、属组一定要对 3、开启user_local_enable之后不能登陆在vsftpd.conf中添加allow_writeable_chroot=YES

trx trx Published on 2016-06-03

vsftpd虚拟用户权限配置和本地用户一样

添加virtual_use_local_privs=YES就可以了

trx trx Published on 2016-06-02

vsftpd虚拟用户配置

1、建立虚拟用户: vim /etc/vsftpd/vuser_passwd.txt 输入需要使用的虚拟用户名字和密码 奇数是用户偶数是密码如下 tangrx 111111 2、建立db数据库,同时只有root用户才能读写: db_load -T -t hash -f /etc/vsftpd/vus

trx trx Published on 2016-05-28

实现虚拟用户、加密、端口更改vsftpd配置文件内容

# Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit,

trx trx Published on 2016-05-28

openssl生成证书

通过以下脚本可生成本地证书 #!/bin/bash # 询问用户想要生成哪种类型的证书 echo "请选择证书类型:" echo "1) RSA" echo "2) ECDSA" read -p "选择一个选项(1或2):" CERT_TYPE # 设置证书有效期为10年 VALID_DAYS=

trx trx Published on 2016-05-28

find查找文件并删除

find / -name "*.txt" -exec rm -f {} \;

trx trx Published on 2016-05-27

CentOS 6升级php

1、下载和安装yum 源:wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm wget http://rpms.fami

trx trx Published on 2016-05-26

CentOS 7 连接无线网络

1、查看可用连接: iw wls1 scan | grep SSID 2、连接网络:wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase "ssid" "psk");ssid=无线网络,psk=密码 3、DHCP分配ip地址:dhclient wls1

trx trx Published on 2016-05-25
Previous Next