I enable anonymous FTP in the control panel and no errors are displayed. When I try and FTP into the site, using user-name and Pass, works, but as anon. login fails. in /etc/passwd there is an id for the sire admin, but not for the anon user. Host OS is Ubuntu Dapper. contents of /etc/proftpd.conf and proftpd_ispconfig.cong below: danier@server1:/etc$ more proftpd.conf # # /etc/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # ServerName "Debian" ServerType standalone DeferWelcome off DefaultRoot ~ IdentLookups off ServerIdent on "FTP Server ready." MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Uncomment this if you would use TLS module: #TLSEngine on # Uncomment this if you would use quota module: #Quotas on # Uncomment this if you would use ratio module: #Ratios on # Port 21 is the standard FTP port. Port 21 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User nobody Group nogroup # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on # Delay engine reduces impact of the so-called Timing Attack described in # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 # It is on by default. #DelayEngine off # A basic anonymous configuration, no upload directories. # <Anonymous ~ftp> # User ftp # Group nogroup # # We want clients to be able to login with "anonymous" as well as "ftp" # UserAlias anonymous ftp # # Cosmetic changes, all files belongs to ftp user # DirFakeUser on ftp # DirFakeGroup on ftp # # RequireValidShell off # # # Limit the maximum number of anonymous logins # MaxClients 10 # # # We want 'welcome.msg' displayed at login, and '.message' displayed # # in each newly chdired directory. # DisplayLogin welcome.msg # DisplayFirstChdir .message # # # Limit WRITE everywhere in the anonymous chroot # <Directory *> # <Limit WRITE> # DenyAll # </Limit> # </Directory> # # # Uncomment this if you're brave. # # <Directory incoming> # # # Umask 022 is a good standard umask to prevent new files and dirs # # # (second parm) from being group and world writable. # # Umask 022 022 # # <Limit READ WRITE> # # DenyAll # # </Limit> # # <Limit STOR> # # AllowAll # # </Limit> # # </Directory> # # </Anonymous> DefaultRoot ~ Include /etc/proftpd_ispconfig.conf -------------------------------------------------------------------- danier@server1:/etc$ more proftpd_ispconfig.conf ################################### # # ISPConfig proftpd Configuration File # Version 1.0 # ################################### DefaultAddress 127.0.0.1 <VirtualHost 192.168.244.92> DefaultRoot ~ AllowOverwrite on Umask 002 <Anonymous /var/www/web5/ftp> User web5_anonftp Group web5_anonftp UserAlias anonymous web5_anonftp UserAlias guest web5_anonftp MaxClients 10 <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> <Directory /var/www/web5/ftp/incoming> Umask 002 <Limit STOR> AllowAll </Limit> <Limit READ> DenyAll </Limit> </Directory> </Anonymous> </VirtualHost> Cheers!
What's the output of Code: grep anonftp /etc/passwd ? What's the output of Code: ls -la /root/ispconfig ?
I have got the same problem. total 104 drwxr-xr-x 9 root root 4096 Apr 14 12:49 . drwxr-x--- 19 root root 4096 Apr 13 14:28 .. -rwxr-xr-x 1 root root 33079 Apr 12 14:14 cronolog -rwxr-xr-x 1 root root 9673 Apr 12 14:14 cronosplit drwxr-xr-x 12 root root 4096 Apr 12 13:53 httpd drwxr-xr-x 14 root root 4096 Apr 12 14:14 isp -rw-r--r-- 1 root root 8 Apr 14 12:49 .old_path_httpd_root drwxr-xr-x 6 root root 4096 Apr 12 13:49 openssl drwxr-xr-x 6 root root 4096 Apr 12 13:58 php drwxr-xr-x 4 root root 4096 Apr 12 14:14 scripts drwxr-xr-x 4 root root 4096 Apr 12 14:14 standard_cgis drwxr-xr-x 2 root root 4096 Apr 12 14:14 sv -rwx------ 1 root root 9389 Apr 12 14:14 uninstall What now ??
Which distribution do you use? Any errors in your log files? With what user do you have this problem?
Fedora 6 is my distr.My problem is when i type ftp.lilainsaat.com its ask me user and password.i can login with my web&email user and pass but i wanted havent asked me for user , password.Anonymous FTP's mean public ftp i know isnt it ? So how can i enter ANONYMOUS FTP in ISP_CONFIG ... ???
Please answer falkos second question too: Just enable the anonymous FTP checkbox in the web settings.
I enabled it but how can i use anonymous FTP Function ?? What i need to write Explorer to login for anonymous.
The third try to gat an answer to this question Any errors in your log files? If you dont answer all our questions, we are not able to help you!
Please try a regular FTP client such as WS_FTP, Smart-FTP, or gFTP instead of Internet Explorer. Did you disable SELinux? With what user do you have this problem?
Yes its disabled ( SELINUX ) I tried with WinSCP but it asked me username and password.HOW CAN I LOGIN WITH ANONYMOUS.And What user that asking me ? I need a user for login anony ?
To login using anonymous FTP, upon the login/passwd prompt of the FTP server, by convention, use 'anonymous' or 'ftp' as username, but any username will do, and enter a random password (if you are polite, use your e-mail address) Most FTP clients have a checkbox/option to login anonymous to an FTP server (niet IE of course, that's NOT a valid FTP client)
Doesn't work. Can you comment out Code: DefaultAddress 127.0.0.1 in /etc/proftpd_ispconfig.conf and restart Proftpd? Does it work then?