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