montykarlo
Newbie
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:
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
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.
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
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.