Add a user/password interface for a Telnet and ftp connect
Harald Becker
ralda at gmx.de
Wed Mar 18 15:12:55 UTC 2015
On 18.03.2015 15:50, Alexis Guilloteau wrote:
>> After looking at the help of the ftpd function in busybox i know that
> the main function is to create an anonymous ftp server so i was not
> surprised with the lack but do you think there would be a solution for
> that ?
Busybox ftpd is an anonymous ftpd, without access restrictions. I
suggest putting the files to be served in a separate directory, using a
chroot and running ftpd with a low privileged user (not as root), so ftp
access goes not to system related files.
... else you need a full ftpd package (not Busybox ftpd).
> And pretty much the same thing for telnetd.
If login to telnetd is done the usual way, it should use /bin/login,
which shall ask for user name and password, but beware all those
information is send in clear (readable) text on the net.
> Right now the only user on the board is the root with no password.
May be that's your problem. Have you set up your password system correct
/etc/passwd, /etc/shadow, /etc/group ?
... and based on information from your mail: Is your inetd running in
the right directory? Has it access to the other commands (especially
when your BB is not installed at /bin/busybox)?
More information about the busybox
mailing list