Witam, podłączę się do tematu gdyż mam problem z zalogowaniem się do ftp - 530 LOGIN INCORRECT
Z dostępem anonimowym nie ma problemu, za to kiedy chce się zalogować podając login i hasło dostaję powyższy błąd.
serwer - proftpd
/etc/proftpd.conf:
ServerName "OpenWrt ftp server"
ServerType standalone
DefaultServer on
RequireValidShell off
AuthUserFile /etc/passwd
Port 21
UseIPv6 off
Umask 022
MaxInstances 10
User nobody
Group nogroup
DefaultRoot ~
AllowOverwrite on
Czyli zgodne z http://eko.one.pl/?p=openwrt-proftpd
Dodawanie użytkownika też zgodnie z tym poradnikiem było przeprowadzone.
/etc/passwd
root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
ftp:*:55:55:ftp:/mnt/sdb1/katalog:/bin/false
mistrzu:x:1010:65534:mistrzu:/mnt/sdb1/katalog:/bin/false
/etc/shadow
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
nobody:*:0:0:99999:7:::
mistrzu:$1$wrcieLHI$LkxOVa7OafmAmcjnhOgoq/:15682:0:99999:7:::
Tutaj bez zmian
/etc/group
root:x:0:
daemon:x:1:
adm:x:4:
mail:x:8:
audio:x:29:
www-data:x:33:
ftp:x:55:
users:x:100:
network:x:101:
nogroup:x:65534:
Serwer odpalony z komendą
Gargoyle proftpd[10650]: using TCP receive buffer size of 87380 bytes
Gargoyle proftpd[10650]: using TCP send buffer size of 16384 bytes
Gargoyle proftpd[10650]: disabling runtime support for IPv6 connections
Gargoyle proftpd[10650]: retrieved UID 65534 for user 'nobody'
Gargoyle proftpd[10650]: retrieved GID 65534 for group 'nogroup'
Gargoyle proftpd[10650] Gargoyle:
Gargoyle proftpd[10650] Gargoyle: Config for OpenWrt ftp serwer:
Gargoyle proftpd[10650] Gargoyle: ~ftp/
Gargoyle proftpd[10650] Gargoyle: UserName
Gargoyle proftpd[10650] Gargoyle: GroupName
Gargoyle proftpd[10650] Gargoyle: UserAlias
Gargoyle proftpd[10650] Gargoyle: MaxClients
Gargoyle proftpd[10650] Gargoyle: RequireValidShell
Gargoyle proftpd[10650] Gargoyle: Umask
Gargoyle proftpd[10650] Gargoyle: AllowOverwrite
Gargoyle proftpd[10650] Gargoyle: DefaultServer
Gargoyle proftpd[10650] Gargoyle: RequireValidShell
Gargoyle proftpd[10650] Gargoyle: AuthUserFile
Gargoyle proftpd[10650] Gargoyle: Umask
Gargoyle proftpd[10650] Gargoyle: UserID
Gargoyle proftpd[10650] Gargoyle: UserName
Gargoyle proftpd[10650] Gargoyle: GroupID
Gargoyle proftpd[10650] Gargoyle: GroupName
Gargoyle proftpd[10650] Gargoyle: DefaultRoot
Gargoyle proftpd[10650] Gargoyle: AllowOverwrite
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at mod_delay.c:425
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at mod_delay.c:430
Gargoyle proftpd[10650] Gargoyle: retrieved group ID: 65534
Gargoyle proftpd[10650] Gargoyle: setting group ID: 65534
Gargoyle proftpd[10650] Gargoyle: SETUP PRIVS at main.c:3336
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at main.c:2306
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at main.c:2315
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at main.c:2673
Gargoyle proftpd[10650] Gargoyle: opening scoreboard '/var/proftpd.scoreboard'
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at main.c:2699
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at inet.c:348
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at inet.c:411
Gargoyle proftpd[10650] Gargoyle: ProFTPD 1.3.4b (maint) (built Fri Oct 12 2012 05:13:23 UTC) standalone mode STARTUP
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at pidfile.c:47
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at pidfile.c:49
Gargoyle proftpd[10650] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[10650] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[10650] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[10650] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Log z połączenia:
PS C:\Users\Marcin> ftp 192.168.1.1
Połączony z 192.168.1.1.
220 ProFTPD 1.3.4b Server (OpenWrt ftp serwer) [192.168.1.1]
Użytkownik (192.168.1.1:(none)): mistrzu
331 Password required for mistrzu
Hasło:
530 Login incorrect.
Logowanie nie powiodło się.
A na serwerze:
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): connected - local : 192.168.1.1:21
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): connected - remote : 192.168.1.220:52384
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): FTP session opened.
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'USER mistrzu' to mod_core
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'USER mistrzu' to mod_core
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'USER mistrzu' to mod_delay
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'USER mistrzu' to mod_auth
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching CMD command 'USER mistrzu' to mod_auth
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching POST_CMD command 'USER mistrzu' to mod_delay
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching LOG_CMD command 'USER mistrzu' to mod_log
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching CMD command 'PASS (hidden)' to mod_auth
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): mod_auth_file/0.9: using passwd file '/etc/passwd'
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): retrieved UID 1010 for user 'mistrzu'
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): retrieved group ID: 65534
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): retrieved group name: nogroup
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): USER mistrzu (Login failed): Incorrect password.
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
Gargoyle proftpd[10668] Gargoyle (SuperKomputer.lan[192.168.1.220]): dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
Mam nadzieję, że podałem wystarczają ilość informacji by ktoś mógł pomóc 