LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VSFTPD Server Problem (https://www.linuxquestions.org/questions/linux-newbie-8/vsftpd-server-problem-684250/)

smarty_expert 11-18-2008 01:48 AM

VSFTPD Server Problem
 
I m using RedHat 5 Linux,
I have created an FTP Server using VSFTPD,
I got access through Command Prompt, prompting for authentication, but while i access the same ftp server through any WebBrowser, it directly goes into the FTP site,

My Requirement is: Accessing FTP Site from WebBrower , it must prompt for authentication.

Please do Help me for the same, as soon as possible.

Hoping a favorable and soon reply from "LinuxQuestions" members.

bathory 11-18-2008 03:14 AM

It sounds like you have enabled anonymous logins. You can try to see if that's the case using CLI to connect to your server and give "anonymous" as username. Use
Code:

anonymous_enable=NO
to stop anonymous logins.
Quote:

My Requirement is: Accessing FTP Site from WebBrower , it must prompt for authentication.
If you connect to your server from a browser you should use: ftp://username@ftp.domain.com. This way you'll be prompted for the password. Or you can use the less safe: ftp://username:password@ftpr.domain.com to login directly.

Regards

smarty_expert 11-19-2008 03:16 AM

I Am Really Thankyou to Bathory

i tried the solution u given me but, in my organisation the requirement is that, The user when access the ftp site must not give his username in the url. because in the browser history the entry remains there so it is not safe to do so..

Please do Help me .. ..

Thanks in advance

bathory 11-19-2008 03:50 AM

OK, if you want to be prompted for username/password you should disable anonymous ftp as I told you.
To disable anonymous access you should edit /etc/vsftp.conf and use the following:
Code:

anonymous_enable=NO
Then restart the service.
If you're running vsftpd through xinetd run:
Code:

/etc/init.d/xinetd restart
If you're running vsftpd standalone, I guess you should use something like:
Code:

/etc/init.d/vsftpd restart

smarty_expert 11-20-2008 11:37 PM

Thankyou
 
Bathory i m Very Much Thankful to u for your sincerely and helpful replies.

U reply helped me a lot.

Please do Keept it Up..

Cheers to Bathory.


All times are GMT -5. The time now is 12:08 AM.