RE: Problem with VSFTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2007-02-27 at 15:03 +0400, Rajeev R Veedu wrote:
> Mel and Will,
> 
> I had tried both the option. It doesn't work either. 
> 
> But when we disable the anonymous access how come IE could login to pub
> folder (which is under /var/ftp/pub). 
> 
> Thanks
> 
> Rajeev
> 
> 
> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
> of Will McDonald
> Sent: Tuesday, February 27, 2007 1:45 PM
> To: CentOS mailing list
> Subject: Re:  Problem with VSFTP
> 
> On 27/02/07, Jordi Espasa Clofent <jordi.listas@xxxxxxxx> wrote:
> > Will McDonald wrote:
> > > On 27/02/07, Rajeev R Veedu <rajeev@xxxxxxxxxxxxx> wrote:
> > >>
> > >>
> > >>
> > >> I have setup an ftp server with VSFTP over Centos 4.4. Everything
> > >> works fine
> > >> except when I login though IE  it doen' ask for the username password
> > >> but by
> > >> default it goes to Pub folder. (/var/ftp/pub). I need to access this
> > >> through
> > >> viewà open ftp folder in separate window -> file à login.
> > >>
> > >> #anonymous_enable=YES
> > >
> > > It sounds like it's because IE is automatically logging in using the
> > > anonymous user. Uncomment the '#anonymous_enable=YES' line and switch
> > > 'YES' to 'NO', 'service restart vsftpd' and try again.
> >
> > Yes, I also think it.
> > But I don't understand where is the problem. If you configure de FTP
> > server as an anonymous server ¿why the automatic login from browser is
> > not right for you? The described behaviour of the browser (IE in this
> > case) is perfectly "normal" according to FTP server config.
> 
> There's nothing inherintly wrong with the way the FTP server's
> behaving at the moment (well, this *could* be open to discussion), it
> seems the default is anonymous enabled.
> 
> However, that's not how Rajeev wanted it to behave, why that's not
> right for him is down to his individual environment and users...
> 
> "In short the server doesn't prompt for username when I type the ftp
> address on the address bar. Instead it takes you to public folder.
> Is there any way I could get the login prompt when typing the ftp
> address? Any help would be really appreciated."
> 
> Personally, I disable anoymous access to FTP as a matter of course,
> and wherever possible use SCP/SFTP with RSSH to chroot if I can.
> 
> Will.
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

First, please don't top post.

Second, the behavior as you described it, is not ftp server's fault but
rather browser's "feature":

"Note that Internet Explorer automatically logs on anonymously to all
FTP servers that permit anonymous logon." (from Microsoft TechNet -
http://www.microsoft.com/technet/archive/IIS3/iischp9.mspx?mfr=true)

So, if you need to ftp the server from within Internet Explorer (there
are plenty of other better clients out there) you will have to disable
anonymous account on your server or, as someone else already mentioned
use ftp://user@yourftpserver instead, and you will get the login prompt.

HTH,


Calin

=================================================
The trouble is, there is an endless supply of White Men, but there has
always been a limited number of Human Beings. -- Little Big Man

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux