|
我是用 useradd -g ftp-users -d /home/ftp -s /bin/false whedu来加用户的。
下面是proftpd调试信息。
localhost.localdomain.whedu.net - FS: using system lstat()
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - ROOT PRIVS at main.c:937
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - SETUP PRIVS at main.c:942
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - performing module session initializations
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - ROOT PRIVS at mod_auth.c:129
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - RELINQUISH PRIVS at mod_auth.c:132
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - connected - local : 211.45.90.63:21
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - connected - remote : 211.45.93.27:2009
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - FTP session opened.
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching PRE_CMD command 'USER whedu' to mod_core
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching PRE_CMD command 'USER whedu' to mod_core
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching PRE_CMD command 'USER whedu' to mod_auth
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endpwent" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endpwent" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endgrent" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endgrent" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching CMD command 'USER whedu' to mod_auth
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - RELINQUISH PRIVS at mod_auth.c:1465
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching LOG_CMD command 'USER whedu' to mod_log
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endpwent" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endpwent" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endgrent" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "endgrent" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching CMD command 'PASS (hidden)' to mod_auth
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - RELINQUISH PRIVS at mod_auth.c:1465
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "getpwnam" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "getpwnam" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "gid_name" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "gid_name" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "getgroups" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "getgroups" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "setgrent" to module mod_auth_file
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching auth request "setgrent" to module mod_auth_unix
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - USER whedu (Login failed): Invalid shell: '/bin/false'
localhost.localdomain.whedu.net (211.45.93.27[211.45.93.27]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log |
|