LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2008, 02:48 AM   #1
smarty_expert
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
Unhappy 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.
 
Old 11-18-2008, 04:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
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://usernameassword@ftpr.domain.com to login directly.

Regards
 
Old 11-19-2008, 04:16 AM   #3
smarty_expert
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 11-19-2008, 04:50 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
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
 
Old 11-21-2008, 12:37 AM   #5
smarty_expert
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up 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.

Last edited by smarty_expert; 11-21-2008 at 12:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd server zerocool22 Linux - Server 4 04-30-2008 06:39 AM
Problem with SSL and vsftpd, receiving error "530 This FTP Server is Anonymous Only" Phoenix_Zero Linux - Server 12 06-28-2007 06:22 PM
Problem Manage User at Vsftpd Server sinchan Linux - Server 2 11-24-2006 12:42 AM
vsftpd server connection problem taiwf Linux - Software 2 06-20-2006 08:00 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration