Moin,
2014 knipste ich den ftp-Server aus. Jetzt brauche ich ihn wieder (kurz). Der Proftpd startete, ein Login mit Username und Passwort ist m�glich.
Was ich brauche ist aber der anonymous mode. Konfiguriert ist das (aus der proftpd.conf):
# A basic anonymous configuration, no upload directories.
<Anonymous /home/ftp>
User ftp
Group nogroup
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Cosmetic changes, all files belongs to ftp user
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
# Limit the maximum number of anonymous logins
MaxClients 5
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
# Uncomment this if you're brave.
<Directory /home/ftp/pub/incoming>
# # Umask 022 is a good standard umask to prevent new files and dirs
# # (second parm) from being group and world writable.
Umask 022 022
<Limit READ WRITE>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>
Beim Versuch sich als anonymous einzuloggen wird trotzdem nach einem Passwort gefragt. Das Verzeichnis /home/ftp/ existiert.
renner@solaris:~$ ftp boulder.mtr
Connected to boulder.mtr.
220 ProFTPD Server (ProFTPD) [::ffff:10.8.0.1]
Name (boulder.mtr:renner): anonymous
331 Password required for anonymous
Password: <**** e-mail adresse ****>
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ls
530 Please login with USER and PASS
ftp: bind: Address already in use
Die Ausgabe ist halbwegs verwirrend. Nach /var/log/proftpd/ wird auch nichts geschrieben. Installiert ist proftpd-basic 1.3.6-4+deb10u5
Gibt's eine schneller Idee?
--
|Michael Renner E-mail:
[email protected] |
|81541 Munich Twitter: @dd0ul |
|Germany Don't drink as root! ESC:wq
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)