/var/log/messages 文件
Dec 11 17:39:34 RedHat9 PAM_pwdb[3416]: check pass; user unknown
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_sm_authenticate called.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: dbuser changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: dbpasswd changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: host changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: database changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: table changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: usercolumn changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: passwdcolumn changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: crypt changed.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: db_connect called.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: returning 0 .
Dec 11 17:39:34 RedHat9 vsftpd[3416]: db_checkpasswd called.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: where clause =
Dec 11 17:39:34 RedHat9 vsftpd[3416]: SELECT passwd FROM users WHERE name='xiaowang'
Dec 11 17:39:34 RedHat9 vsftpd[3416]: sqlLog called.
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logtable not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logmsgcolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logusercolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but loghostcolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logtimecolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: returning 0 .
Dec 11 17:39:34 RedHat9 vsftpd[3416]: returning 0.
/etc/vsftpd.conf 文件
guest_enable=YES
guest_username=vsftpdguest
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_other_write_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ftpd_banner=Welcome to Test FTP service.
chroot_local_user=YES
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logtable not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logmsgcolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logusercolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but loghostcolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: pam_mysql: error: sqllog set but logtimecolumn not set
Dec 11 17:39:34 RedHat9 vsftpd[3416]: returning 0 .
Dec 11 17:39:34 RedHat9 vsftpd[3416]: returning 0.