Hello,
I've been trying to get an ftp server working since 8 o clock this morning (7 hours ago) without much success. I've compiled ProFTPD 1.2.10 from source according to the awesome guide posted here. My box is running Debian 3.1 kernel version 2.4.27-2-386. Anonymous accounts work fine. When I try to login with my user account, proftpd spits out this debug info:
Code:
ProFTPD 1.2.10 (stable) (built Fri Oct 14 15:53:33 EDT 2005) standalone mode STARTUP
FTP session requested from unknown class
performing ident lookup
ident connection failed: Connection refused
ident lookup returned 'UNKNOWN'
connected - local : my.server:21
connected - remote : my.computer.at.home:55382
FTP session opened.
dispatching PRE_CMD command 'USER dalesan' to mod_core
dispatching PRE_CMD command 'USER dalesan' to mod_core
dispatching PRE_CMD command 'USER dalesan' to mod_auth
dispatching auth request "endpwent" to module mod_auth_file
dispatching auth request "endpwent" to module mod_auth_unix
dispatching auth request "endgrent" to module mod_auth_file
dispatching auth request "endgrent" to module mod_auth_unix
dispatching CMD command 'USER dalesan' to mod_auth
dispatching auth request "getgroups" to module mod_auth_file
dispatching auth request "getgroups" to module mod_auth_unix
dispatching LOG_CMD command 'USER dalesan' to mod_log
dispatching PRE_CMD command 'PASS (hidden)' to mod_core
dispatching PRE_CMD command 'PASS (hidden)' to mod_core
dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
dispatching auth request "endpwent" to module mod_auth_file
dispatching auth request "endpwent" to module mod_auth_unix
dispatching auth request "endgrent" to module mod_auth_file
dispatching auth request "endgrent" to module mod_auth_unix
dispatching CMD command 'PASS (hidden)' to mod_auth
dispatching auth request "getgroups" to module mod_auth_file
dispatching auth request "getgroups" to module mod_auth_unix
dispatching auth request "getpwnam" to module mod_auth_file
dispatching auth request "getpwnam" to module mod_auth_unix
dispatching auth request "gid_name" to module mod_auth_file
dispatching auth request "gid_name" to module mod_auth_unix
dispatching auth request "auth" to module mod_auth_file
dispatching auth request "auth" to module mod_auth_unix
dispatching auth request "check" to module mod_auth_file
dispatching auth request "check" to module mod_auth_unix
dispatching auth request "setgrent" to module mod_auth_file
dispatching auth request "setgrent" to module mod_auth_unix
USER dalesan (Login failed): Invalid shell: ''
dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
dispatching PRE_CMD command 'QUIT' to mod_core
dispatching PRE_CMD command 'QUIT' to mod_core
dispatching PRE_CMD command 'QUIT' to mod_log
dispatching CMD command 'QUIT' to mod_core
dispatching auth request "endpwent" to module mod_auth_file
dispatching auth request "endpwent" to module mod_auth_unix
dispatching auth request "endgrent" to module mod_auth_file
dispatching auth request "endgrent" to module mod_auth_unix
FTP session closed.
I noticed this: USER dalesan (Login failed): Invalid shell: from above and promptly changed my proftpd.conf file to use the directive "RequireValidShell off" and restarted proftpd. (The above is actually the debug info after doing so)
If anyone has any suggestions as to what I can do to fix this, I would be eternally grateful.
Thanks.