Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd September 2013, 20:00
buhlerax buhlerax is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default site running with apache user

Good morning,
There's like leaving a site running with apache user?
thank you
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2013, 10:01
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 756
Thanks: 15
Thanked 215 Times in 166 Posts
Default

Sorry, but what's your question?
How to make a website running as www user?
If yes, simply change the php mode of this website to "mod-php" in ISPConfig.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #3  
Old 3rd September 2013, 10:15
buhlerax buhlerax is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually I think I expressed it poorly. In the mod-php as it runs www-apache.
But users do not allow ssh and ftp I can upload files as user www-apache.
How do I change the ftp and ssh to upload as www-apache.
Having to make this change as admin, but I'm not ispconfig informs system administrator. This is an inconsistency.
Reply With Quote
  #4  
Old 3rd September 2013, 10:31
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 756
Thanks: 15
Thanked 215 Times in 166 Posts
Default

Anyway it is a very poor idea using mod-php... not only because of the problem you mentioned. Fast-CGI or FPM should be preferred.
There is no way making your FTP upload as www-data if you are not admin of ISPConfig.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #5  
Old 3rd September 2013, 12:31
buhlerax buhlerax is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is the problem! I am the administradore, I installed and configured the ispconfig. But ispconfig is not allowing me to do this.
Reply With Quote
  #6  
Old 3rd September 2013, 12:58
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 756
Thanks: 15
Thanked 215 Times in 166 Posts
Default

This cannot be done globally, you'd have to edit every single ftp user.
SSH users cannot be changed to store files under www-data.
On ftp there is a tab "options" where you could change the user and group.

But really, you should switch to fast-cgi or fpm. Modphp is no good idea!
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #7  
Old 3rd September 2013, 13:37
buhlerax buhlerax is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As administrator ispconfig if I try to change the path or userid, groupdid in ispconfig for ftp appears this:
Reply With Quote
  #8  
Old 3rd September 2013, 13:39
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 756
Thanks: 15
Thanked 215 Times in 166 Posts
Default

This is a bug in 3.0.5.3
There is a patch available. See here:
http://www.ispconfig.org/download/patches/

Patch ID 3053_ftpuser
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #9  
Old 3rd September 2013, 14:06
buhlerax buhlerax is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

The patch worked perfectly.
Now I can save files as user apache.
thank you
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
Hacking attack (ubuntu 7.04 server + local root exploit on kernel) smoko General 4 15th September 2013 05:05
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Centos5.4/ISPConfig 3--Virtual site not working MichaelCaditz Installation/Configuration 25 25th March 2011 11:37
SSH access for site user cic Installation/Configuration 7 20th November 2007 14:21
log files cruz Technical 3 15th May 2007 14:35


All times are GMT +2. The time now is 01:36.


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