[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

    Code
    <Limit ALL>
    AllowUser OR root
    AllowGroup OR root
    DenyAll


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

    Code
    Status: Verbinde mit 192.168.2.200:21...
    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:

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


    Solution:
    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,
    Patrick

Participate now!

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