#1  
Old 21st September 2006, 14:45
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default proFTP config

My Perfect Set up SuSe 10.1 config for proFTP along with ISPConfig seems to be working with one exception... I have 2 sites web14_ and web15_, when I log in as anonymous it shows only the web14_ incoming directory.

When I log in as the assigned users for web14_ and web15_ and their password it goes to their applicable web directory and other misc. directories. I just don't see where in the config files this is occurring.

What is proftp using for authentication in Perfect Set Up and ISPConfig set up?

I would prefer that the anonymous logging go into proftp alone and not the ISPConfig side. I assume there is probably and adjustment I need to make in the proftp_ispconf.conf(?).

Since I have never used proftp (or vsftp) beyond anonymous I am unfamiliar with assigning users and directory rights but if I wanted to consolidate users who have access to different web programs (ISPConfig and Coppermine in my case) would this be what would help do that? ---> Virtual Hosting With Proftpd And MySQL (Incl. Quota)
Reply With Quote
Sponsored Links
  #2  
Old 22nd September 2006, 13:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by latcarf
My Perfect Set up SuSe 10.1 config for proFTP along with ISPConfig seems to be working with one exception... I have 2 sites web14_ and web15_, when I log in as anonymous it shows only the web14_ incoming directory.
You can have only one anonymous FTP account per IP address!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd September 2006, 14:28
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Makes sense... I only want one but I don't want it going to the ISPConfig web15_ user incoming directory. When I log in as anonymous via an ftp client it takes me to the web15_ "root" showing the /incoming directory.

As it stands right now the proftpd_ispconfig.conf file only cites web15_ (see below) even though I also have web14_designated for ftp use. I can however log in with the web15_ or web14 user name and password and get to their directories. That is okay and how it probably should be. I just want anonymous to go to the /srv/ftp and the directories I set up in there.

Code:
DefaultAddress 127.0.0.1
<VirtualHost 192.168.2.5>
        DefaultRoot             ~
        AllowOverwrite          on
        Umask                   002
        <Anonymous /srv/www/web15/ftp>
          User                          web15_anonftp
          Group                         web15_anonftp
          UserAlias                     anonymous web15_anonftp
          UserAlias                     guest web15_anonftp
          MaxClients                    10
          <Directory *>
            <Limit WRITE>
              DenyAll
            </Limit>
          </Directory>
          <Directory /srv/www/web15/ftp/incoming>
            Umask                       002
            <Limit STOR>
              AllowAll
            </Limit>
            <Limit READ>
              DenyAll
            </Limit>
          </Directory>
        </Anonymous>
</VirtualHost>
the proftpd.conf file is as cited in the Perfect Set Up unless internal changes reconfigured it.

I only have 2 sites (going for 3) so with web"14", "15" you can see I made a few mistakes setting evrything up. I am about to start from scratch with SuSe 10.1 and ISPConfig so hopefully I won't make those mistakes again and maybe it will correct the ftp problems I probably created.
Reply With Quote
  #4  
Old 23rd September 2006, 14:40
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I reloaded all and it went well... two sites designated as web2_ and web3_. The proftpd_ispconfig.conf looks the same as before except it specifies web2_ now instead of web15_.

What I want to accomplish is that anonymous users get directed to /srv/ftp/ and not /srv/www/web2/ftp/incoming. I just realized (as I was writing this!) maybe I should uncheck the anonymous ftp button for the Clients/Sites in ISPConfig first huh? Will that help? i.e. remove the anonymous logging from proftpd_ispconfig.conf...
Reply With Quote
  #5  
Old 23rd September 2006, 16:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by latcarf
What I want to accomplish is that anonymous users get directed to /srv/ftp/
You can hardcode that into /etc/proftpd.conf, just before /etc/proftpd_ispconfig.conf gets included. Put this into /etc/proftpd.conf:


Code:
<VirtualHost 192.168.2.5>
        DefaultRoot             ~
        AllowOverwrite          on
        Umask                   002
        <Anonymous /srv/ftp>
          User                          web15_anonftp
          Group                         web15_anonftp
          UserAlias                     anonymous web15_anonftp
          UserAlias                     guest web15_anonftp
          MaxClients                    10
          <Directory *>
            <Limit WRITE>
              DenyAll
            </Limit>
          </Directory>
          <Directory /srv/ftp/incoming>
            Umask                       002
            <Limit STOR>
              AllowAll
            </Limit>
            <Limit READ>
              DenyAll
            </Limit>
          </Directory>
        </Anonymous>
</VirtualHost>
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 24th September 2006, 15:21
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default

did that restarted proftpd... whats this mean?
Code:
server1:~ # /etc/init.d/proftpd restart
Shutting down ProFTPD Server:                                        done
Starting ProFTPD Server:  - IPv4 getaddrinfo 'server1' error: Name or service not known
 - warning: unable to determine IP address of 'server1'
 - setting default address to 127.0.0.1
 - warning: "ProFTPD" address/port (192.168.2.5:21) already in use by "ProFTPD"
                                                                     done
server1:~ #
and this is what I get from gftp client
Code:
Looking up ftp.latcarfproductions.com
Trying server1.latcarfproductions.com:21
Connected to ftp.latcarfproductions.com:21
220 ProFTPD 1.3.0 Server (ProFTPD Default Installation) [192.168.2.5]
USER anonymous

331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
530 Login incorrect.
Disconnecting from site ftp.latcarfproductions.com
If you see what I am doing wrong please let me know... I am going to plug away at it off and on today.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with unique proftp config formermsftie Installation/Configuration 1 22nd July 2006 16:49
Needing to restart proftp weekly? dabro General 1 20th June 2006 13:48
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48
Can't access System config / Settings section Spektro Installation/Configuration 1 9th December 2005 15:31
Config file templates till Developers' Forum 0 30th July 2005 23:10


All times are GMT +2. The time now is 09:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.