Pam_mysql
vsftpd已经很安全了,但是使用系统用户不方便管理,以下是在Linux系统中用pam_mysql实现mysql虚拟用户认证的安装配置过程。 系统环境: cat /etc/redhat-release CentOS release 5.2 (Final) vsftpd是CentOS(RedHat AS)自带的。 建立用于存放vsftpd虚拟用户的Schema的过程: mysql -uroot -ppass create database vsftpd; grant all on vsftpd.* to vsftpd@localhost identified by "veryi.com" ; use vsftpd; create table users ( id int AUTO_INCREMENT NOT NULL, name char(16) binary NOT NULL, passwd char(48) binary NOT NULL, primary key(id) ); describe users; create table [...]
近期评论