• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Kleine Probleme mit Proftpd bzw gproftp

Hi Leute,
habe mir den proftpd installiert. Funktioniert auch ganz gut. Allerdings hab ich mir noch das gproftp Frontend installiert. Hiermit hab ich ein Problem:
Soweit ich weiß sollte für den FTP User die /bin/false Shell gewählt werden. Leider kann ich diese beim Anlegen eines FTP Users für gproftp nicht auswählen. Ich bekomme die Meldung:
Code:
 The System user was not added because uppercase or language specific letter are not allowed
Nehme ich beim selben User die /bin/bash geht es.
Ich habe nachträglich die etc/passwd editiert und beim user auf /bin/false umgestellt. Dann wird auch im gproftp dieser Wert übernommen und es funktioniert.
Was mach ich da falsch?

Dann werden bei mir alle User unter Anonymous angelegt. Wie kann ich das abschalten?
Hier die proftpd.conf
Code:
ServerType standalone
DefaultServer on
Umask 022
ServerName "Test FTP Server "
ServerIdent on "FTP"
ServerAdmin Admin@this.domain.topdomain
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayFirstChdir .message
User nobody 
Group nogroup
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 30
TransferRate STOR 40
TransferRate STOU 40
TransferRate APPE 40
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /home/ftp
#gp_useradd_upload_path /home/ftp/upload
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
  AllowUser thomas
  AllowUser montykarlo
  DenyALL
</Limit>

<Anonymous /home/ftp/thomas>
User thomas
Group ftpuser
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /home/ftp/montykarlo>
User montykarlo
Group ftpuser
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

Vielen Dank schonmal
Gruß Monty

Achso das ganze läuft auf Suse 10 mit der proftpd Version 1.3.0.a und der gproftpd 8.2.8

C.U.
 
OP
M

montykarlo

Newbie
hi zusammen,

sieht so aus als könnte mir keiner helfen. Schnief !!

Meine Erkentniss ist, dass der proftpd ohne Probleme funktioniert.

Habe mir mal unseren alten FTP Server unter die Lupe genommen. Den hat mal ein Kollege vor Jahren aufgesetzt. Auch mit gproftp. Auch dort werden alle User unter anonymous angelget. Allerdings funktioniert wenigstens das User anlegen mit /bin/false problemlos.
Hab das ganze nun mit Xampp (bin kein Linux pro, deshalb) gelöst. Jetzt sind alle user sauber in ner DB drin. Für Xampp gibts da auch ein kleines Frontend Addon.

Ja, ja ich weiß, die Bequemlichkeit ist der Sicherheit größter Feind.... :evil: :evil:

Viele Grüße bis dann
 

Yehudi

Guru
Oben rechts befindet sich ein großer Botton mit dem Wort "WIKI", hattest Du den schon mal angeklickt? Wenn Du dort auf Fileserver gehst, gelangst Du hier hin:
http://www.linux-club.de/faq/Alles_zu_proftpd
--> http://www.proftpd.de/FAQ.15.0.html
 
Oben