Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th July 2008, 04:11
razvan_vlad razvan_vlad is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Vitrual Hosting with ProFtpd & MySql on Fedora 9

just a quick question on the "Virtual Hosting with Proftpd and MySql on Fedora 9"...
i followed the Fedora 9 Perfect server setup and installed ISPConfig after that. Then i wanted to change the ProFtpd to use MySQL by following the above mentioned tutorial; went back on ISPConfig and created a FTP user for a website but i can't log in. I receive the 530 login invalid. I think ISPConfig gets confused on what database to create the ftp-user? Is this correct?
Then i created the same tables but in the database i use for ISPConfig but still receive the 530 error.
How can i integrate ProFtpd to use MySql and be able to create ftp-users on ISPConfig and log in?

Thank you,
Raz.
Reply With Quote
Sponsored Links
  #2  
Old 30th July 2008, 14:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

You can not use ISPConfig with the Virtual Hosting with Proftpd and MySql on Fedora 9 setup. FTP is already configured for ISPConfig when you followed the perfect setup guide.

Quote:
How can i integrate ProFtpd to use MySql and be able to create ftp-users on ISPConfig and log in?
You cant.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th July 2008, 14:46
razvan_vlad razvan_vlad is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oh.. so.. it's either I set-up the ProFtpd to use MySql for virtual users, which implies i will have to create each user manually, either i let ProFtpd be used by ISPConfig, and those users created by ISPConfig will be placed in ISPConfig's database, but those would be system users.

Now, i have asked this because in a previous installation with Perfect Setup, ProFtpd worked. What i mean is i could upload files to some directories (root folder.. others) but i couldn't CHMOD them. It said permission denied. How do i have to set this up so when i create an user within ISPConfig to be able to CHMOD his folders?

Thank you so much for your help,
Raz.
Reply With Quote
  #4  
Old 30th July 2008, 14:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Quote:
Now, i have asked this because in a previous installation with Perfect Setup, ProFtpd worked. What i mean is i could upload files to some directories (root folder.. others) but i couldn't CHMOD them. It said permission denied. How do i have to set this up so when i create an user within ISPConfig to be able to CHMOD his folders?
Just allow chmod in proftpd.conf, it is denied by default. But thats nothing ispconfig specific and applies to any default proftpd installation.

Changing proftpd to the virtual setup messed the configuration up now, you will have to undo very step rom the virtual proftpd setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 30th July 2008, 15:12
razvan_vlad razvan_vlad is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am at work now and my server's at home, off. but I am pretty sure i checked for Allow CHMOD in proftpd.conf and it was allowed. Still, did not work. The only option i had was to log in as root on the server and manually change folder permissions.
And if I am not mistaken, the Allow CHMOD option was not in proftpd.conf but in proftpd_ispconfig.conf which was included in proftpd.conf.
Reply With Quote
  #6  
Old 31st July 2008, 07:40
razvan_vlad razvan_vlad is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default CHMOD in /html directory but not in other folders

CHMOD was Allowed from default in /etc/proftpd.conf:
Code:
<Limit SITE_CHMOD>
    AllowAll
  </Limit>
It doesn't work to change permissions for the folders in root dir (/) but you can CHMOD inside the /html directory created in the root folder.
Also i created other subfolders but can't change permissions for those.

help please.

Thanks guys.
Reply With Quote
  #7  
Old 31st July 2008, 07:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

It is the intention that you are not able to change permissions in the root folder, as these files are not owned by the web administrator. If you would change them, you wold mess up the configuration and e.g. the mail deliver will fail or apache might refuse to start.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 31st July 2008, 07:48
razvan_vlad razvan_vlad is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes.. i figured it out. sorry about that.

my post above is not 100% precise.. i am able to CHMOD the folders created by me through the FTP client only!

what needs to be done so i can change permissions on those folders and files?
thanks.
Reply With Quote
  #9  
Old 31st July 2008, 08:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Quote:
what needs to be done so i can change permissions on those folders and files?
As I pointed out above. You can not do this without messing up the configuration.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 31st July 2008, 14:42
razvan_vlad razvan_vlad is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
what needs to be done so i can change permissions on those folders and files?
i was talking about folders inside the /root/html directory.
I can only change permission for folders i create myself but not for the ones i uploaded (e.g: my own website folders).
How do i get to be able to change permission on those? I think it has to do something with .. ownership under Linux? But how?

thanks,
raz.
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
Virtual Hosting with ProFtpd, MySql on Fedora 9 razvan_vlad HOWTO-Related Questions 1 30th July 2008 16:04
Virtual Hosting With Proftpd And MySQL (and shared key authentication?) wanabewired Installation/Configuration 0 8th June 2008 12:57
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Virtual Hosting With Proftpd And MySQL (Incl. Quota) miguellamerz HOWTO-Related Questions 3 18th October 2006 01:39
Virtual Hosting With Proftpd And MySQL Problems bigredgecko HOWTO-Related Questions 1 7th July 2006 12:56


All times are GMT +2. The time now is 23:47.


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