Bug 10921

Summary: ftpd: login failed
Product: Busybox Reporter: mittorn
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.28.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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