51

Odp: Problem z logowaniem do ftp

Zmiana na łatwe hasło niewiele pomogła. Za to udało się zalogować dopiero gdy w skopiowałem hasło z etc/shadow i wkleiłem na sztywno do etc/passwd, nie wiem dlaczego inaczej nie chciał działać...

52

Odp: Problem z logowaniem do ftp

Czekaj a jaki masz system? A obsługą shadow czy bez?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

53

Odp: Problem z logowaniem do ftp

System gargoyle-pl/attitude_adjustment/ar71xx/ z 11.24 na tp-link wdr4300. Wczesniej z usb-storage na vsftpd działało, poźniej exroota zrobiłem, wyrzuciłem vsftpd i zainstalowałem proftpd. Reszta bez problemu działa, tylko to logowanie na ftpa z hasłem takie problemy sprawiało.

54

Odp: Problem z logowaniem do ftp

Witam. Szukałem po internecie jak rozwiązać problem z logowaniem się do ftp przez proftp ale nigdzie nie znalazłem informacji o sukcesie. Może ktoś uporał się z error 530 ? Robię tak jak w poradniku i to już 2 raz na nowszej kompilacji Gargoyle i bez sukcesu. Może coś ten poradnik nie jest aktualny albo nie ma czegoś ważnego ?

Gateway :Topton Intel Core i3-N305 16GB RAM 6x i226-V 2.5GbE
AP: 3x Netgear WAX220

55

Odp: Problem z logowaniem do ftp

Login incorrect?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

56 (edytowany przez DarioX7 2013-02-18 20:53:21)

Odp: Problem z logowaniem do ftp

tak

zapuściłem debuga:

root@Gargoyle:~# proftpd -d 10 -n
Gargoyle proftpd[19085]: using TCP receive buffer size of 87380 bytes
Gargoyle proftpd[19085]: using TCP send buffer size of 16384 bytes
Gargoyle proftpd[19085]: disabling runtime support for IPv6 connections
Gargoyle proftpd[19085]: retrieved UID 65534 for user 'nobody'
Gargoyle proftpd[19085]: retrieved GID 65534 for group 'nogroup'
Gargoyle proftpd[19085]: ROOT PRIVS at mod_log.c:588
Gargoyle proftpd[19085]: RELINQUISH PRIVS at mod_log.c:593
Gargoyle proftpd[19085] Gargoyle:
Gargoyle proftpd[19085] Gargoyle: Config for ProFTPD OpenWRT FTP Server:
Gargoyle proftpd[19085] Gargoyle: ~ftp/
Gargoyle proftpd[19085] Gargoyle:  Limit
Gargoyle proftpd[19085] Gargoyle:   DenyAll
Gargoyle proftpd[19085] Gargoyle:  UserName
Gargoyle proftpd[19085] Gargoyle:  GroupName
Gargoyle proftpd[19085] Gargoyle:  UserAlias
Gargoyle proftpd[19085] Gargoyle:  MaxClients
Gargoyle proftpd[19085] Gargoyle:  DisplayLogin
Gargoyle proftpd[19085] Gargoyle:  DisplayChdir
Gargoyle proftpd[19085] Gargoyle:  Umask
Gargoyle proftpd[19085] Gargoyle:  AllowOverwrite
Gargoyle proftpd[19085] Gargoyle:  TransferLog
Gargoyle proftpd[19085] Gargoyle: Limit
Gargoyle proftpd[19085] Gargoyle:  DenyAll
Gargoyle proftpd[19085] Gargoyle: DefaultServer
Gargoyle proftpd[19085] Gargoyle: Umask
Gargoyle proftpd[19085] Gargoyle: UserID
Gargoyle proftpd[19085] Gargoyle: UserName
Gargoyle proftpd[19085] Gargoyle: GroupID
Gargoyle proftpd[19085] Gargoyle: GroupName
Gargoyle proftpd[19085] Gargoyle: AllowOverwrite
Gargoyle proftpd[19085] Gargoyle: TransferLog
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at mod_delay.c:425
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at mod_delay.c:430
Gargoyle proftpd[19085] Gargoyle: retrieved group ID: 65534
Gargoyle proftpd[19085] Gargoyle: setting group ID: 65534
Gargoyle proftpd[19085] Gargoyle: SETUP PRIVS at main.c:3336
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at main.c:2306
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at main.c:2315
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at main.c:2673
Gargoyle proftpd[19085] Gargoyle: opening scoreboard '/var/proftpd.scoreboard'
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at main.c:2699
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at inet.c:348
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at inet.c:411
Gargoyle proftpd[19085] Gargoyle: ProFTPD 1.3.4b (maint) (built Sun Nov 18 2012 02:15:13 UTC) standalone mode STARTUP
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at pidfile.c:47
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at pidfile.c:49
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gargoyle proftpd[19085] Gargoyle: scrubbing scoreboard
Gargoyle proftpd[19085] Gargoyle: ROOT PRIVS at scoreboard.c:1369
Gargoyle proftpd[19085] Gargoyle: RELINQUISH PRIVS at scoreboard.c:1372
Gateway :Topton Intel Core i3-N305 16GB RAM 6x i226-V 2.5GbE
AP: 3x Netgear WAX220

57

Odp: Problem z logowaniem do ftp

A teraz zaloguj się klientem i pokaż logi z tego

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

58

Odp: Problem z logowaniem do ftp

Feb 18 20:26:05 Gargoyle daemon.notice proftpd[18971]: Gargoyle - ProFTPD 1.3.4b (maint) (built Sun Nov 18 2012 02:15:13 UTC) standalone mode STARTUP
Feb 18 20:26:31 Gargoyle daemon.info proftpd[18974]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session opened.
Feb 18 20:26:31 Gargoyle authpriv.notice proftpd[18974]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - USER ftp (Login failed): Invalid shell: '/bin/false'
Feb 18 20:26:31 Gargoyle daemon.info proftpd[18974]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session closed.
Feb 18 20:26:31 Gargoyle daemon.info proftpd[18975]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session opened.
Feb 18 20:26:41 Gargoyle authpriv.notice proftpd[18975]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - USER student (Login failed): Invalid shell: '/bin/false'
Feb 18 20:26:43 Gargoyle daemon.info proftpd[18975]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session closed.
Feb 18 20:26:57 Gargoyle daemon.info proftpd[18976]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session opened.
Feb 18 20:26:57 Gargoyle authpriv.notice proftpd[18976]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - USER ftp (Login failed): Invalid shell: '/bin/false'
Feb 18 20:26:57 Gargoyle daemon.info proftpd[18976]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session closed.
Feb 18 20:26:57 Gargoyle daemon.info proftpd[18977]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session opened.
Feb 18 20:27:23 Gargoyle authpriv.notice proftpd[18977]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - USER ftp (Login failed): Invalid shell: '/bin/false'
Feb 18 20:27:24 Gargoyle daemon.info proftpd[18977]: Gargoyle (Daro-Komputer.lan[192.168.1.101]) - FTP session closed.
Feb 18 20:29:55 Gargoyle daemon.debug proftpd[18987]: Gargoyle - ROOT PRIVS at main.c:2673
Feb 18 20:29:55 Gargoyle daemon.debug proftpd[18987]: Gargoyle - deleting existing scoreboard '/var/proftpd.scoreboard'
Feb 18 20:29:55 Gargoyle daemon.debug proftpd[18987]: Gargoyle - opening scoreboard '/var/proftpd.scoreboard'
Feb 18 20:29:55 Gargoyle daemon.debug proftpd[18987]: Gargoyle - RELINQUISH PRIVS at main.c:2699
Feb 18 20:29:55 Gargoyle daemon.debug proftpd[18987]: Gargoyle - ROOT PRIVS at inet.c:348
Feb 18 20:29:55 Gargoyle daemon.debug proftpd[18987]: Gargoyle - RELINQUISH PRIVS at inet.c:392
Feb 18 20:29:55 Gargoyle daemon.err proftpd[18987]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:29:55 Gargoyle daemon.err proftpd[18987]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:29:55 Gargoyle daemon.err proftpd[18987]: Gargoyle - Unable to start proftpd; check logs for more details
Feb 18 20:30:23 Gargoyle daemon.debug proftpd[18994]: Gargoyle - ROOT PRIVS at main.c:2673
Feb 18 20:30:23 Gargoyle daemon.debug proftpd[18994]: Gargoyle - deleting existing scoreboard '/var/proftpd.scoreboard'
Feb 18 20:30:23 Gargoyle daemon.debug proftpd[18994]: Gargoyle - opening scoreboard '/var/proftpd.scoreboard'
Feb 18 20:30:23 Gargoyle daemon.debug proftpd[18994]: Gargoyle - RELINQUISH PRIVS at main.c:2699
Feb 18 20:30:23 Gargoyle daemon.debug proftpd[18994]: Gargoyle - ROOT PRIVS at inet.c:348
Feb 18 20:30:23 Gargoyle daemon.debug proftpd[18994]: Gargoyle - RELINQUISH PRIVS at inet.c:392
Feb 18 20:30:23 Gargoyle daemon.err proftpd[18994]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:30:23 Gargoyle daemon.err proftpd[18994]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:30:23 Gargoyle daemon.err proftpd[18994]: Gargoyle - Unable to start proftpd; check logs for more details
Feb 18 20:30:38 Gargoyle daemon.err proftpd[18998]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:30:38 Gargoyle daemon.err proftpd[18998]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:30:38 Gargoyle daemon.err proftpd[18998]: Gargoyle - Unable to start proftpd; check logs for more details
Feb 18 20:30:42 Gargoyle daemon.err proftpd[19002]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:30:42 Gargoyle daemon.err proftpd[19002]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:30:42 Gargoyle daemon.err proftpd[19002]: Gargoyle - Unable to start proftpd; check logs for more details
Feb 18 20:30:49 Gargoyle daemon.debug proftpd[19006]: Gargoyle - deleting existing scoreboard '/var/proftpd.scoreboard'
Feb 18 20:30:49 Gargoyle daemon.err proftpd[19006]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:30:49 Gargoyle daemon.err proftpd[19006]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:30:49 Gargoyle daemon.err proftpd[19006]: Gargoyle - Unable to start proftpd; check logs for more details
Feb 18 20:30:51 Gargoyle daemon.debug proftpd[19010]: Gargoyle - deleting existing scoreboard '/var/proftpd.scoreboard'
Feb 18 20:30:51 Gargoyle daemon.err proftpd[19010]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:30:51 Gargoyle daemon.err proftpd[19010]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:30:51 Gargoyle daemon.err proftpd[19010]: Gargoyle - Unable to start proftpd; check logs for more details
Feb 18 20:30:54 Gargoyle daemon.debug proftpd[19014]: Gargoyle - deleting existing scoreboard '/var/proftpd.scoreboard'
Feb 18 20:30:54 Gargoyle daemon.err proftpd[19014]: Gargoyle - Failed binding to 0.0.0.0, port 21: Address already in use
Feb 18 20:30:54 Gargoyle daemon.err proftpd[19014]: Gargoyle - Check the ServerType directive to ensure you are configured correctly.
Feb 18 20:30:54 Gargoyle daemon.err proftpd[19014]: Gargoyle - Unable to start proftpd; check logs for more details
Gateway :Topton Intel Core i3-N305 16GB RAM 6x i226-V 2.5GbE
AP: 3x Netgear WAX220

59

Odp: Problem z logowaniem do ftp

USER ftp (Login failed): Invalid shell: '/bin/false'

Albo w konfigu daj brak sprawdzenia shella, albo dodaj sobie go do /etc/shells albo zmień użytkownikowi shell na /bin/ash.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

60

Odp: Problem z logowaniem do ftp

Ponad to coś ci tam się buntuje że już jest uruchomiony. Czasami nie masz już procesu w tle?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

61

Odp: Problem z logowaniem do ftp

Po sambie, którą wstępnie opanowałem przyszła kolej na proftpd.
Niby klient się łączy i przez www też da się wejść ale jak to ustawić, żeby się dostać do udostępnionego folderu "publiczny"?
Tak było konfigurowane.

62

Odp: Problem z logowaniem do ftp

Więc daj użytkownikowi na którego się logujesz ten katalog "publiczny" jako domowy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

63 (edytowany przez gonzales 2013-04-15 18:41:16)

Odp: Problem z logowaniem do ftp

Wyjdę na totalego "ignoranta" ale masz na myśli konfigurację klienta czy na routerze?
Szczerze mówiąc to w WinSCP mogę wejść poziom wyżej tam gdzie jest mnt/sda3/publiczny a przez ftp wchodzę na root a tam tego nie ma (jest wyżej)?
Jak to ustawić na routerze? roll

64

Odp: Problem z logowaniem do ftp

Na serwerze ftp oczywiście. Skoro ustawiłeś chroota to nie wyjdziesz poza ten katalog.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

65

Odp: Problem z logowaniem do ftp

Nie rozumiem ale doczytam hmm

66

Odp: Problem z logowaniem do ftp

Doczytałem, zmieniłem, działa smile
1. Rozumiem, że jeżeli mam obecnie tylko dwa katalogi to w przypadku tworzenia kolejnych muszę dla każdego kolejnego ustawiać prawa dostępu dla poszczególnych użytkowników?

2. Obecny użytkownik ma dostęp weryfikowany hasłem. Jeżeli chciałbym do obecnych katalogów "prywatny" i "publiczny" dostawać się anonimowo - bez hasła muszę utworzyć kolejnego użytkownika (lub zmienić sposób autoryzacji na logowanie bez hasła, czy tak?

67

Odp: Problem z logowaniem do ftp

2. Po prostu utwórz sekcję dla anonymousa
1. W systemie, tak.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

68

Odp: Problem z logowaniem do ftp

Dopisałem w proftpd.conf:

<Anonymous ~ftp>
  User                ftp
  Group                ftp
  UserAlias            anonymous ftp
  MaxClients            10
</Anonymous>


1. Chyba o to chodziło?

Ale coś się nie łączy. Do tego utworzyłem drugiego użytkownika bez możliwości logowania.
2. Ale to raczej nie jest potrzebne a może nawet jest niewskazane?

3. Czy jedno drugiego nie wyklucza (dwóch użytkowników, jeden z logowaniem drugi bez)?

69

Odp: Problem z logowaniem do ftp

Nie wyklucza. Może być i tak i tak. W sumie - uruchom z debugu i zobacz co się dzieje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

70 (edytowany przez gonzales 2013-04-17 17:59:52)

Odp: Problem z logowaniem do ftp

Log z połączenia użytkownika sabek z możliwością logowania
następnie użytkownika iwka bez możliwości logowania i
i jeszcze dla anonymousa.

Prawdę powiedziawszy nie ogarniam tego i nie potrafię nic z tego odczytać.
Proszę o wsparcie.

 OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): USER sabek: Login successful.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'SYST' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'SYST' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'SYST' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'SYST' to mod_log
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'FEAT' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'FEAT' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'FEAT' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/', fullpath = '/mnt/sda3/'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'FEAT' to mod_log
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PWD' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PWD' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'PWD' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/', fullpath = '/mnt/sda3/'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'PWD' to mod_log
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'TYPE I' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'TYPE I' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'TYPE I' to mod_xfer
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'TYPE I' to mod_log
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASV' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASV' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'PASV' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/', fullpath = '/mnt/sda3/'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): Entering Passive Mode (192,168,1,1,153,172).
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'PASV' to mod_log
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'MLSD' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'MLSD' to mod_core
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'MLSD' to mod_facts
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/', fullpath = '/mnt/sda3/'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): passive data connection opened - local  : 192.168.1.1:39340
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): passive data connection opened - remote : 192.168.1.185:1445
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/', fullpath = '/mnt/sda3/'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/prywatny', fullpath = '/mnt/sda3/prywatny'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/publiczny', fullpath = '/mnt/sda3/publiczny'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/lost+found', fullpath = '/mnt/sda3/lost+found'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): in dir_check_full(): path = '/', fullpath = '/mnt/sda3/'.
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'MLSD' to mod_log
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'MLSD' to mod_facts
OpenWrt proftpd[2804] openwrt: ROOT PRIVS at main.c:1272
OpenWrt proftpd[2804] openwrt: RELINQUISH PRIVS at main.c:1276
OpenWrt proftpd[2804] openwrt: no matching vhost found for 192.168.1.1#21, using 'OpenWrt ftp server' listening on wildcard address
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at main.c:1087
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): SETUP PRIVS at main.c:1092
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): session requested from client in unknown class
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): performing module session initializations
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): mod_ident/1.0: ident lookup disabled
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at mod_delay.c:1650
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): RELINQUISH PRIVS at mod_delay.c:1655
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at mod_auth.c:129
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): opening scoreboard '/var/proftpd.scoreboard'
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): RELINQUISH PRIVS at mod_auth.c:131
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): connected - local  : 192.168.1.1:21
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): connected - remote : 192.168.1.185:1448
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): FTP session opened.
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER iwka' to mod_core
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER iwka' to mod_core
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER iwka' to mod_delay
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER iwka' to mod_auth
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'USER iwka' to mod_auth
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching POST_CMD command 'USER iwka' to mod_delay
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'USER iwka' to mod_log
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'PASS (hidden)' to mod_auth
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): retrieved UID 1001 for user 'iwka'
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): retrieved group ID: 65534
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): retrieved group name: nogroup
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at mod_auth_unix.c:467
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): RELINQUISH PRIVS at mod_auth_unix.c:548
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): USER iwka (Login failed): Incorrect password.
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
OpenWrt proftpd[2804] openwrt (HTPC-DX.lan[192.168.1.185]): FTP session closed.
OpenWrt proftpd[2800] openwrt: scrubbing scoreboard
OpenWrt proftpd[2800] openwrt: ROOT PRIVS at scoreboard.c:1369
OpenWrt proftpd[2800] openwrt: RELINQUISH PRIVS at scoreboard.c:1372
OpenWrt proftpd[2805] openwrt: ROOT PRIVS at main.c:1272
OpenWrt proftpd[2805] openwrt: RELINQUISH PRIVS at main.c:1276
OpenWrt proftpd[2805] openwrt: no matching vhost found for 192.168.1.1#21, using 'OpenWrt ftp server' listening on wildcard address
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at main.c:1087
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): SETUP PRIVS at main.c:1092
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): session requested from client in unknown class
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): performing module session initializations
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): mod_ident/1.0: ident lookup disabled
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at mod_delay.c:1650
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): RELINQUISH PRIVS at mod_delay.c:1655
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): ROOT PRIVS at mod_auth.c:129
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): opening scoreboard '/var/proftpd.scoreboard'
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): RELINQUISH PRIVS at mod_auth.c:131
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): connected - local  : 192.168.1.1:21
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): connected - remote : 192.168.1.185:1449
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): FTP session opened.
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER ftp' to mod_core
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER ftp' to mod_core
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER ftp' to mod_delay
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'USER ftp' to mod_auth
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'USER ftp' to mod_auth
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching POST_CMD command 'USER ftp' to mod_delay
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD command 'USER ftp' to mod_log
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching CMD command 'PASS (hidden)' to mod_auth
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): retrieved UID 55 for user 'ftp'
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): retrieved group ID: 55
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): retrieved group name: ftp
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): USER ftp (Login failed): Invalid shell: '/bin/false'
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
OpenWrt proftpd[2805] openwrt (HTPC-DX.lan[192.168.1.185]): FTP session closed.
OpenWrt proftpd[2800] openwrt: scrubbing scoreboard
OpenWrt proftpd[2800] openwrt: ROOT PRIVS at scoreboard.c:1369
OpenWrt proftpd[2800] openwrt: RELINQUISH PRIVS at scoreboard.c:1372
OpenWrt proftpd[2803] openwrt (HTPC-DX.lan[192.168.1.185]): FTP session closed.

71

Odp: Problem z logowaniem do ftp

USER ftp (Login failed): Invalid shell: '/bin/false'

Dodaj sobie /bin/false do /etc/shells

USER iwka (Login failed): Incorrect password.

A tu złe hasło podałeś?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

72 (edytowany przez gonzales 2013-04-17 22:23:20)

Odp: Problem z logowaniem do ftp

Nie czytałem wszystkich wierszy od początku, tak gdzieś od środka roll

yyyyyyyy.... ale tego "Incorrect password " to już w ogóle nie rozumiem bo przecież użytkownik iwka jest  bez możliwości logowania to też i hasła nie ustawiałem. Braki wiedzy wychodzą na każdym kroku sad

W takim razie taki użytkownik nie może się gdzie logować?

73

Odp: Problem z logowaniem do ftp

"Bez możliwości logowania" ale do systemu. Jak chcesz do ftpa to jakieś hasło potrzebujesz, prawda?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

74

Odp: Problem z logowaniem do ftp

Zmylił mnie brak wpisu:
    # passwd malgosia
w przypadku tworzenia użytkownika (w stosownym tutoraialu) oprócz braku wiedzy oczywiście big_smile

75

Odp: Problem z logowaniem do ftp

Bo takiego użytkownika potrzebujesz np. żeby jakiś demon uruchomić na jego prawach.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.