Reiner Anonymous login

B

beomuex

Routinier
Hallo,
ich hätt mnal wieder n Server Problem...
System: SuSe 10.2 Proftpd und Webmin und ein paar Daten...
also das ganze soll ein Server für mein privates LAN werden, der anonymous login hat und in den man kein psw eingeben muss da er ja privat ist.
Aber er soll nur an eine IP gebunden werden 192.168.0.100 das hab ich in der webmin config auch gemacht aber ich kann über jede andre Lankarte (andre IP) drauf zugreifen ,warum? und der anonymous login funktioniert auch nicht denn wenn ich wie gewohnt irgendwas als psw eingeb kommt
Code:
513 - login incorrect

also hier meine proftpd.conf
Code:
# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName			"Resheph"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask				022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 4

# Set the user and group that the server normally runs at.
User nobody
Group nobody

# Normally, we want files to be overwriteable.

# A basic anonymous configuration, no upload directories.
<Anonymous /srv/www/htdocs/files/data>
User ftp
Group ftp
  # We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

  # If you want to provide anonymous ftp service, please
  # set "RequireValidShell off".

  #RequireValidShell           off

  # Limit the maximum number of anonymous logins
MaxClients 10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
DefaultChdir /srv/www/htdocs/files/data
AnonRequirePassword off
AuthUsingAlias off
RequireValidShell off

</Anonymous>
<Global>
DeleteAbortedStores on
LoginPasswordPrompt off
AccessGrantMsg "Welcome on Resheph!!!"
AllowOverwrite off
RootLogin off
AuthAliasOnly off
MaxLoginAttempts 3
AllowRetrieveRestart on
AllowStoreRestart on
RequireValidShell off
DefaultChdir /srv/www/htdocs/files/data
DefaultRoot /srv/www/htdocs/files/data
</Global>
LoginPasswordPrompt on
AllowForeignAddress off
AllowStoreRestart off
Bind 192.168.0.100
/srv/www/htdocs/files/data wär das standart verzeichnis und da sollte man auch nicht rauskommen ^^ also was passt da oben nicht?
 
Zuletzt bearbeitet:
Code:
  # If you want to provide anonymous ftp service, please
  # set "RequireValidShell off".

Hast du das schonmal probiert?
 
ja hallo ich habs mal
ent-# aber es geht immer noch nur per user
kann es sein das es irgendwo wawas gibt , das angibt dass der jeden psw bei anonymous akzetiert.
btw in der benutzer-verwaltung ist bei "ftp" kein psw drin
hat das vllt damit was zutun?
 
Mal ganz doof gefragt aber nur um sicher zu gehen. Hast du den pureftpd neu gestartet?
 
Alles anders

Na gut mit ein bissl glück geht nun dass auch alles :hab alle user inkl den der gruppe user "verboten" und der login geht mit ftp und psw ist egal :D
So nun aber die Frage wie kann ich dass Verzeichnislisten für den Benutzer ftp verbieten ?
 

Ähnliche Themen

NGINX bietet intern abgerufene Seiten nur zum Download an, extern geht's

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Email via script via Exchange Server (SASL)

Senior System & Network Admin in Berlin

Zurück
Oben