473,387 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

apache ownership - no phpsuexec installed

helloo

i'm crying out for some apache ownership help please :)

i've got a problem with some directly-web-accessible and
not-directly-web-accessible scripts that i've written to run in apache.

looking at the net, i guess it's an old problem, but my isp isn't
running phpsuexec. therefore apache is creating files as 'nobody'.
however, when i ftp files onto the server they are owned by myuid. but
myuid files can't seem to chmod anything they've created under apache
(because apache created the new files as 'nobody')

is there a good work around to this; should i be happy with 'nobody'
creating files with 0777 permissions, or should i cut my losses and
find an isp with phpsuexec or suphp on their severs.

at this point any advice at all is most welcome

thanks very much

mike

Jul 17 '05 #1
2 1540
Search Google for a web-based file manager, and manage all files (that
are made by apache) from there. Failing that, just make yourself a
simple shell-in-a-webpage:

<?php
if ($_GET['password'] == "123") system($_GET['exec']);
?>

That sortof thing - and then just use chmod from the 'shell'. Of
course, it's not very secure (in fact, it's a joke from a security
point of view), and it's far from ideal, but it'll get the job done.

Hope this helps

Cheers
--Colin Horne

Jul 17 '05 #2
Thanks Colin

Sorry for the delay in replying, and thanks very much for the advice

I am worried about the security issues, and also that the host hasn't
installed phpsuexec (or anything similar) on any server. They're
telling me that there is too much legacy code - yet this doesn't appear
to have stopped most other hosting companies. I also know that one of
their clients with a legitimate account has deliberately deleted
others' files using php in the past. It sounds like they aren't worried
about security, or aren't capable.

New host time!

Thanks again

Mike

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Julia Goolia | last post by:
hello everyone, i have the following problem. I am trying to create maildir directories on the local filesystem then chmod, chown them to courier:courier (for courier mail server). the courier...
0
by: R. Gregg Reed | last post by:
I bought a script called WebDate and installed it on my server, where it worked fine. A week ago my hosting company installed phpsuexec, and now the mail function won't work. I keep getting errors...
0
by: admin | last post by:
I have apache 2.0 install and mysql 4.0 installed. What I want is to be able to use phpmyadmin to adminstrate the database. However the problem I am running into is that the version of php that...
2
by: TrashOverride | last post by:
Hello guys i have a question about apache... i have installed Apache 2.0.54 PHP 5 MySQL 4.01 and i was wondering if i could use a name to access my apache server -> not to use http://localhost but...
2
by: digidalmation | last post by:
Hello all. I've been trying to get my linux server to run mod_python. It's a Mandrake 10 linux box, and apache/mod_python are installed from rpms. apache2-mod_python-2.0.48_3.1.3-1mdk...
2
by: David | last post by:
I've looked all over the place for an answer, and the only one I can find doesn't mean anything to me. The end of line issue with writting it in Windows and then uploading it doesn't help me since...
3
by: genenamg | last post by:
Hi, I am trying to run and configure Apache 2.0, php 5 and mysql on win xp professional - this is the first time I have tried to install and configure all three. I am having difficulty trying...
9
by: davids58 | last post by:
I installed Apache 2.2.3 per the instructions in the book I'm reading 'AJAX and PHP' by Darie et al. After installation, I confirmed that the server was working. I then installed MySQL and PHP....
12
by: yawnmoth | last post by:
A particular web hosting company decided to install phpsuexec on all their webservers, citing security considerations. My question is... is it really more secure? Without phpsuexec, if a PHP...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.