将权限限制在家里--加入 vi /etc/vsftpd/chroot_list 认证 然后,创建用户密码文本 vi /etc/vsftpd/vuser_passwd.txt ,注意奇行是用户名,偶行是密码 test 123456 接着,生成虚拟用户认证的db文件 db_load -T -t hash -f /etc/vsftpd/vuser_passwd.txt /etc/vsftpd/vuser_passwd.db 重启 service vsftpd restart 重启网卡:使用命令: s
1.问题描述: 我桌面上有一个“账号密码.db”文件,我现在想知道里面有几张表格table、表格的名字、表头结构。
2.使用SQL语句”””select name from sqlite_master where type=’table’ order by name”””,查找表格的名字。实例代码如下:
# coding:utf-8
import sqlite3
conn = sqlite3.connect(C:\\Users\\Administrator\\Desktop\\密码账号.db)