Problem, I want to edit the proftpd_ispconfig.conf file. All the users who can use a ftp-program and login in wil come in their /home/webdir. But they can also read in all the directory's above. Normaly the will be jailed in their home directory. If i edit the conf file below and restart the Proftp deamon, all the new setting will be rewriten. Where and how can i write the settings to jail the ftp user in their /var/www/webX box with out any read rights in /var/www/ or above. ################################### # # ISPConfig proftpd Configuration File # Version 1.0 # ################################### DefaultAddress 127.0.0.1 <VirtualHost X.X.X.X> DefaultRoot ~ AllowOverwrite on Umask 002 </VirtualHost> I also tried to edit the /etc/proftp.conf to: DefaultRoot /var/www/web24/ Include /etc/proftpd_ispconfig.conf
Just add: DefaultRoot ~ in the file /etc/proftpd.conf. the directive must not be included in a virtual host directive.
already there In the Proftp.conf is DefaultRoot ~ already there. This wasn't the option. The ftp user is only webbassed jailed but not with ftp programm. I hope you will know the answer.
I'm having same issue. DefaultRoot ~ is already in proftpd.conf and not in Vhosts file I'm sure I used FTP (WS-FTP, Firefox FTP) Still having this problem. Anyone knows solution?
Please set the documentRoot globally as described in the perfect setup guides in proftpd conf before the include of the vhosts file. It is not nescessary to set the document root in every vhost.
proftpd.conf DefaultRoot ~ IdentLookups off ServerIdent on "FTP Server ready." Include /etc/proftpd_ispconfig.conf proftpd_ispconfig.conf ################################### # # ISPConfig proftpd Configuration File # Version 1.0 # ################################### DefaultAddress 127.0.0.1 <VirtualHost XXX.XXX.XXX.XXX> AllowOverwrite on Umask 002 </VirtualHost> Not working properly. Didn't also worked when i had "DefaultRoot ~" in <VirtualHost> in proftpd_ispconfig.conf
What happens when you comment out DefaultAddress 127.0.0.1 in /etc/proftpd_ispconfig.conf and restart Proftpd?
I was reading this thread, because I had some problems with FTP. Before installing ISPconfig my FTP is always fast and i can login (using LeapFTP) almost instantly. But after installing ISPconfig my logging in became very slow (takes 20 seconds te login). Also there are a lot of connection problems when oploading files of while editing files online. So, by reading this thread, I commented out <<DefaultAddress 127.0.0.1>> in /etc/proftpd_ispconfig.conf and then restarted Proftpd. Now it is superfast again and connection problems vanished .... However, restarting proftpd generates a warning: Starting proftpd: - warning: "ProFTPD" address/port (xxx.xxx.xxx.xxx:21) already in use by "ProFTPD Default Installation" (xxx.xxx.xxx.xxx is my IP numer) Who can shine a light on this?
My /etc/hosts is configured just as described in Perfect Server Setup Centos 5 page 3 I replaced the IP with mine and replaced the hostname as in this example: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.0.100 server1.example.com server1 ::1 localhost6.localdomain6 localhost6
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT. 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts xxx.149.xxx.220 server.mg-gaming.net server