LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   VSFTPD and browser issues (https://www.linuxquestions.org/questions/linux-server-73/vsftpd-and-browser-issues-750890/)

Tarn 08-28-2009 10:47 AM

VSFTPD and browser issues
 
I have 2 clustered servers running RHEL5 and vsftpd, recently one died and has been replaced. the vsftpd.conf file is from a backup (and I have also used the conf file from the other server but same problem).

When logging in using an ftp client you enter a username and password (this is good)and are chrooted to the correct directory, however some users are using a browser (I've tested with IE and firefox and have recreated it) and it just dumps you in a folder with a pub directory and no logon option. Where as the other server brings up a login box and chroots

If I use ftp://username:password@ftp.example.com this works but I'm not sure where to look to try and solve it.

Any help would be greatly appreciated.

rayfordj 08-28-2009 02:05 PM

I'm not sure I recognize a problem. The server (vsftpd) sounds like it is working. The client you are using determines the login method and most browsers (IE and firefox, in your example) offer some method of auto-anonymous login attempt. In you case, they succeed and are placed in, most likely, /var/ftp/. Depending on the client and the features offered, you may be able to set user and/or user:pass as demonstrated in your example above.

Are you not wanting anonymous ftp login at all?

If you wish to deny anonymous-user ftp access you may look at man 5 vsftpd.conf
Code:

      anonymous_enable
              Controls whether anonymous  logins  are  permitted  or  not.  If
              enabled,  both the usernames ftp and anonymous are recognised as
              anonymous logins.

              Default: YES


:study:


All times are GMT -5. The time now is 02:58 AM.