Bug 10921 - ftpd: login failed
Summary: ftpd: login failed
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.28.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-04 15:12 UTC by mittorn
Modified: 2018-04-07 12:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mittorn 2018-04-04 15:12:34 UTC
ftpd anonymous mode does not work when ftpd is running under root on systems without users (no /etc/passwd).
-a option does not help, it returns "login failed" with any user/password
I'm using busybox tcpsvd -vE 192.168.10.1:21 busybox ftpd -vv -a (root or 0) /
i cannot add users because filesystem is read-only, so busybox ftpd is completely unuseful for me
Comment 1 Denys Vlasenko 2018-04-07 12:03:43 UTC
Fixed in git:

commit 8edaaced16664503e89d9be80637e17dedc56ab9
Date:   Sat Apr 7 14:02:21 2018 +0200

    ftpd: added -A option to disable all authentication