[CentOS] Problem with VSFTP

Tue Feb 27 11:03:27 UTC 2007
Rajeev R Veedu <rajeev at cracknell.com>

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 at centos.org [mailto:centos-bounces at centos.org] On Behalf
of Will McDonald
Sent: Tuesday, February 27, 2007 1:45 PM
To: CentOS mailing list
Subject: Re: [CentOS] Problem with VSFTP

On 27/02/07, Jordi Espasa Clofent <jordi.listas at yahoo.es> wrote:
> Will McDonald wrote:
> > On 27/02/07, Rajeev R Veedu <rajeev at cracknell.com> 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 at centos.org
http://lists.centos.org/mailman/listinfo/centos