[Bug?] FTP "Permit root login" does not work as expected (needs manual fix)

  • Hello,

    I tried to enable the login for the user "root" in the FTP options.

    (Services -> FTP -> Settings -> Advanced settings -> "Permit root login")

    This adds the user root in the vhosts sections in /etc/proftpd/proftpd.conf

    <Limit ALL>
    AllowUser OR root
    AllowGroup OR root

    Unfortunately proftpd still blocks the root user from login to the FTP server (using FileZilla)

    Status: Verbinde mit
    Status: Verbindung hergestellt, warte auf Willkommensnachricht...
    Status: Unsicherer Server; er unterstützt kein FTP über TLS.
    Befehl: USER root
    Antwort: 331 Password required for root
    Befehl: PASS *********
    Antwort: 530 Login incorrect.
    Fehler: Kritischer Fehler: Herstellen der Verbindung zum Server fehlgeschlagen

    The /var/log/proftpd/proftpd.log log file:

    openmediavault proftpd: pam_listfile(proftpd:auth): Refused user root for service proftpd

    The file /etc/ftpusers still contains the root user:

    -> comment out the line containing "root" and the login for root is working.
    => This should be done automatically if the "Permit root login" switch is enabled

    Best regards,

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!