Привет,
След като ъпгрейднах сървъра вече никой не може да се логва по FTP, нито по мрежата, нито локално. Използва се стандартна UNIX authentication, без ftpusers.
Други услуги (напр. SSH) се логват нормално. Ъпгрейднах с yum ProFTPd до новия пакет за Fedora 1.3.0-2.fc5 (преди това беше 1.2.x ) но все си е същото.
Ако бутна паролата ръчно,
Примерен код |
UserPassword niki 11/oDSYOEXXXX |
си се логва нормално.
Някакви идеи?
Примерен код |
ServerName "V7FTP" ServerType standalone ServerIdent on "Company name FTP Server ready." DefaultServer on ScoreboardFile /var/run/proftpd.score Port 21 Umask 022 AllowForeignAddress off DefaultTransferMode binary AllowRetrieveRestart on AllowStoreRestart on MaxInstances 30 UseReverseDNS off User ftp Group ftp DefaultRoot ~ TransferLog /ftp/logs/ftp-transfer.log SystemLog /ftp/logs/ftp-system.log
<Directory /ftp> AllowOverwrite on </Directory>
<Global> LoginPasswordPrompt on RootLogin off AuthAliasOnly off AuthPAM off RequireValidShell off UseFtpUsers off </Global>
|
Примерен код |
- mod_tls/2.1.1: using OpenSSL 0.9.8a 11 Oct 2005 - parsing '/etc/proftpd.conf' configuration - dispatching auth request "getpwnam" to module mod_auth_file - dispatching auth request "getpwnam" to module mod_auth_unix - dispatching auth request "getgrnam" to module mod_auth_file - dispatching auth request "getgrnam" to module mod_auth_unix - <Directory /ftp>: deferring resolution of path - IPv6 getaddrinfo 'srv.domain.com' error: Name or service not known srv.domain.com - mod_ctrls/0.9.3: binding ctrls socket to '/var/run/proftpd/proftpd.sock' srv.domain.com - dispatching auth request "getgroups" to module mod_auth_file srv.domain.com - dispatching auth request "getgroups" to module mod_auth_unix srv.domain.com - error setting IPV6_V6ONLY: Protocol not available srv.domain.com - ProFTPD 1.3.0 (stable) (built Tue May 2 11:53:38 EDT 2006) standalone mode STARTUP srv.domain.com (...) - FTP session requested from unknown class srv.domain.com (...) - mod_delay/0.5: opening DelayTable '/var/run/proftpd/proftpd.delay' srv.domain.com (...) - performing ident lookup srv.domain.com (...) - error setting IPV6_V6ONLY: Protocol not available srv.domain.com (...) - ident connection failed: Interrupted system call srv.domain.com (...) - ident lookup returned 'UNKNOWN' srv.domain.com (...) - connected - local : ::ffff:213.240.XXX.XXX:21 srv.domain.com (...) - connected - remote : ::ffff:192.168.0.23:4320 srv.domain.com (...) - FTP session opened. srv.domain.com (...) - dispatching PRE_CMD command 'USER niki' to mod_tls srv.domain.com (...) - dispatching PRE_CMD command 'USER niki' to mod_core srv.domain.com (...) - dispatching PRE_CMD command 'USER niki' to mod_core srv.domain.com (...) - dispatching PRE_CMD command 'USER niki' to mod_delay srv.domain.com (...) - dispatching PRE_CMD command 'USER niki' to mod_auth srv.domain.com (...) - dispatching auth request "endpwent" to module mod_auth_file srv.domain.com (...) - dispatching auth request "endpwent" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "endgrent" to module mod_auth_file srv.domain.com (...) - dispatching auth request "endgrent" to module mod_auth_unix srv.domain.com (...) - dispatching CMD command 'USER niki' to mod_auth srv.domain.com (...) - dispatching auth request "getgroups" to module mod_auth_file srv.domain.com (...) - dispatching auth request "getgroups" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "requires_pass" to module mod_tls srv.domain.com (...) - dispatching POST_CMD command 'USER niki' to mod_delay srv.domain.com (...) - mod_delay/0.5: selecting median interval from 5 values srv.domain.com (...) - dispatching LOG_CMD command 'USER niki' to mod_log srv.domain.com (...) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls srv.domain.com (...) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core srv.domain.com (...) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core srv.domain.com (...) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay srv.domain.com (...) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth srv.domain.com (...) - dispatching auth request "endpwent" to module mod_auth_file srv.domain.com (...) - dispatching auth request "endpwent" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "endgrent" to module mod_auth_file srv.domain.com (...) - dispatching auth request "endgrent" to module mod_auth_unix srv.domain.com (...) - dispatching CMD command 'PASS (hidden)' to mod_auth srv.domain.com (...) - dispatching auth request "getgroups" to module mod_auth_file srv.domain.com (...) - dispatching auth request "getgroups" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "getpwnam" to module mod_auth_file srv.domain.com (...) - dispatching auth request "getpwnam" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "gid2name" to module mod_auth_file srv.domain.com (...) - dispatching auth request "gid2name" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "auth" to module mod_tls srv.domain.com (...) - dispatching auth request "auth" to module mod_auth_pam srv.domain.com (...) - dispatching auth request "auth" to module mod_auth_file srv.domain.com (...) - dispatching auth request "auth" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "check" to module mod_tls srv.domain.com (...) - dispatching auth request "check" to module mod_auth_file srv.domain.com (...) - dispatching auth request "check" to module mod_auth_unix srv.domain.com (...) - USER niki (Login failed): Incorrect password. srv.domain.com (...) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay srv.domain.com (...) - mod_delay/0.5: selecting median interval from 5 values srv.domain.com (...) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log srv.domain.com (...) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth srv.domain.com (...) - dispatching auth request "endpwent" to module mod_auth_file srv.domain.com (...) - dispatching auth request "endpwent" to module mod_auth_unix srv.domain.com (...) - dispatching auth request "endgrent" to module mod_auth_file srv.domain.com (...) - dispatching auth request "endgrent" to module mod_auth_unix srv.domain.com (...) - FTP session closed.
|