Proftpd: total disable user login

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












A simple question,with this configuration I allow anon ftp users.



ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 2121
Umask 022
MaxInstances 30
User ftp
Group ftp
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
PassivePorts 49152 65535
UseFtpUsers off
<Directory /*>
AllowOverwrite on
</Directory>
<Limit LOGIN>
AllowUser ftp
AllowUser anonymous
DenyAll
</Limit>
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
</Anonymous>


But using



ftp localhost 21


It ask for password
My question is: how to disable totally the user login to allow only anonymous?
I want an answer like this



"sorry ftp server is only anonymous"








share

























    up vote
    0
    down vote

    favorite












    A simple question,with this configuration I allow anon ftp users.



    ServerName "ProFTPD Default Installation"
    ServerType standalone
    DefaultServer on
    Port 2121
    Umask 022
    MaxInstances 30
    User ftp
    Group ftp
    SystemLog /var/log/proftpd.log
    TransferLog /var/log/xferlog
    PassivePorts 49152 65535
    UseFtpUsers off
    <Directory /*>
    AllowOverwrite on
    </Directory>
    <Limit LOGIN>
    AllowUser ftp
    AllowUser anonymous
    DenyAll
    </Limit>
    <Anonymous ~ftp>
    RequireValidShell off
    User ftp
    Group ftp
    # We want clients to be able to login with "anonymous" as well as "ftp"
    UserAlias anonymous ftp
    # Limit the maximum number of anonymous logins
    MaxClients 50
    # We want 'welcome.msg' displayed at login, and '.message' displayed
    # in each newly chdired directory.
    DisplayLogin welcome.msg
    DisplayChdir .message
    # Limit WRITE everywhere in the anonymous chroot
    <Limit WRITE>
    DenyAll
    </Limit>
    # An upload directory that allows storing files but not retrieving
    # or creating directories.
    </Anonymous>


    But using



    ftp localhost 21


    It ask for password
    My question is: how to disable totally the user login to allow only anonymous?
    I want an answer like this



    "sorry ftp server is only anonymous"








    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      A simple question,with this configuration I allow anon ftp users.



      ServerName "ProFTPD Default Installation"
      ServerType standalone
      DefaultServer on
      Port 2121
      Umask 022
      MaxInstances 30
      User ftp
      Group ftp
      SystemLog /var/log/proftpd.log
      TransferLog /var/log/xferlog
      PassivePorts 49152 65535
      UseFtpUsers off
      <Directory /*>
      AllowOverwrite on
      </Directory>
      <Limit LOGIN>
      AllowUser ftp
      AllowUser anonymous
      DenyAll
      </Limit>
      <Anonymous ~ftp>
      RequireValidShell off
      User ftp
      Group ftp
      # We want clients to be able to login with "anonymous" as well as "ftp"
      UserAlias anonymous ftp
      # Limit the maximum number of anonymous logins
      MaxClients 50
      # We want 'welcome.msg' displayed at login, and '.message' displayed
      # in each newly chdired directory.
      DisplayLogin welcome.msg
      DisplayChdir .message
      # Limit WRITE everywhere in the anonymous chroot
      <Limit WRITE>
      DenyAll
      </Limit>
      # An upload directory that allows storing files but not retrieving
      # or creating directories.
      </Anonymous>


      But using



      ftp localhost 21


      It ask for password
      My question is: how to disable totally the user login to allow only anonymous?
      I want an answer like this



      "sorry ftp server is only anonymous"








      share













      A simple question,with this configuration I allow anon ftp users.



      ServerName "ProFTPD Default Installation"
      ServerType standalone
      DefaultServer on
      Port 2121
      Umask 022
      MaxInstances 30
      User ftp
      Group ftp
      SystemLog /var/log/proftpd.log
      TransferLog /var/log/xferlog
      PassivePorts 49152 65535
      UseFtpUsers off
      <Directory /*>
      AllowOverwrite on
      </Directory>
      <Limit LOGIN>
      AllowUser ftp
      AllowUser anonymous
      DenyAll
      </Limit>
      <Anonymous ~ftp>
      RequireValidShell off
      User ftp
      Group ftp
      # We want clients to be able to login with "anonymous" as well as "ftp"
      UserAlias anonymous ftp
      # Limit the maximum number of anonymous logins
      MaxClients 50
      # We want 'welcome.msg' displayed at login, and '.message' displayed
      # in each newly chdired directory.
      DisplayLogin welcome.msg
      DisplayChdir .message
      # Limit WRITE everywhere in the anonymous chroot
      <Limit WRITE>
      DenyAll
      </Limit>
      # An upload directory that allows storing files but not retrieving
      # or creating directories.
      </Anonymous>


      But using



      ftp localhost 21


      It ask for password
      My question is: how to disable totally the user login to allow only anonymous?
      I want an answer like this



      "sorry ftp server is only anonymous"






      proftpd





      share












      share










      share



      share










      asked 4 mins ago









      elbarna

      3,88293677




      3,88293677

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475684%2fproftpd-total-disable-user-login%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475684%2fproftpd-total-disable-user-login%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay