mein ProFTPd lässt einen Login über in die ftpd.passwd eingetragenen FTP-User nicht zu. Da kommen die Fehlermeldungen
Code: Alles auswählen
530 Login incorrect.
Login failed.
Code: Alles auswählen
2019-05-21 14:46:58,235 web proftpd[16646] web.example.com (p5DCA.dip0.t-ipconnect.de[]): FTP session closed.
2019-05-21 14:47:06,484 web proftpd[16687] web.example.com (p5DCA.dip0.t-ipconnect.de[]): FTP session opened.
2019-05-21 14:47:14,546 web proftpd[16687] web.example.com (p5DCA.dip0.t-ipconnect.de[]): USER ftpuser (Login failed): Limit access denies login
Code: Alles auswählen
Include /etc/proftpd/modules.conf
UseIPv6 on
IdentLookups off
ServerName "FTP"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
RequireValidShell off
Port 21
<IfModule mod_dynmasq.c>
</IfModule>
MaxInstances 30
User proftpd
Group nogroup
Umask 022 022
AllowOverwrite on
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
Include /etc/proftpd/conf.d/custom.conf
Code: Alles auswählen
<Global>
RequireValidShell off
</Global>
UseIPv6 off
DefaultRoot ~ ftpuser
AuthPam off
RequireValidShell off
AuthUserFile /etc/proftpd/ftpd.passwd
<Limit LOGIN>
DenyGroup !ftpuser
</Limit>
Code: Alles auswählen
-r--r----- 1 proftpd root 308 Mai 21 14:40 ftpd.passwd
Code: Alles auswählen
ftpasswd --passwd --name $USER --uid 33 --home $DIR --shell /bin/false
systemctl restart proftpd
BrotherJ