- 论坛徽章:
- 0
|
本帖最后由 binshell 于 2013-07-28 22:20 编辑
Jul 24 23:17:49 bbs vsftpd: pam_mysql - INSERT INTO logs (message, user, host, rhost, pid, logtime) VALUES ('QUERYING SUCCESS', 'user', '127.0.0.1', '(unknown)', '12003', NOW())
日志如上,rhost,居然不认识,为(unknown),还有host怎么是127.0.0.1呢?我ftp的地址,不是这个。是192.168.1.101
其它的还正常。
数据库中内容如下:
| AUTHENTICATION FALURE (FIRST_PASS) | user | 12003 | 127.0.0.1 | (unknown) | 2013-07-24 23:17:48 |
| AUTHENTICATION SUCCESS | user | 12003 | 127.0.0.1 | (unknown) | 2013-07-24 23:17:49 |
| QUERYING SUCCESS | user | 12003 | 127.0.0.1 | (unknown) | 2013-07-24 23:17:49 |
怎么消除登陆信息显示在控制台上呀。我如何设置才可以不在控制台上显示如下内容。只要记录到日志里就可以了。
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_query_user_stat() called.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_format_string() called
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_quick_escape() called.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - SELECT 0, passwd FROM users WHERE name = 'user'
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_query_user_stat() returning 0.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_sql_log() called.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_format_string() called
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_quick_escape() called.
Jul 24 23:17:49 bbs last message repeated 3 times
Jul 24 23:17:49 bbs vsftpd: pam_mysql - INSERT INTO logs (message, user, host, rhost, pid, logtime) VALUES ('QUERYING SUCCESS', 'user', '127.0.0.1', '(unknown)', '12003', NOW())
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_sql_log() returning 0.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_sm_acct_mgmt() returning 0.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_release_ctx() called.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_destroy_ctx() called.
Jul 24 23:17:49 bbs vsftpd: pam_mysql - pam_mysql_close_db() called.
|
|