Hey everyone,
Sorry I don't know shiz about apache & php(sudo req.s), I was wondering how I would get an entire php page to use sudo on my server. I understand this seems idiotic, but I was simply wondering if this was possible, if so, how?
Thanks in advance,
-Yo!
Sudo for php- Apache2
Page 1 of 15 Replies - 1487 Views - Last Post: 16 April 2012 - 06:14 AM
Replies To: Sudo for php- Apache2
#2
Re: Sudo for php- Apache2
Posted 10 April 2012 - 07:37 PM
Woah, that would be a huge mistake. You would be giving the world root access to your server. That is not the purpose of sudo. There has got to be another way of correcting your issue.
#3
Re: Sudo for php- Apache2
Posted 10 April 2012 - 07:42 PM
It's not an issue, simply wanting to explore around with them, I fully understand that. It's a local site
. For clarification, I'm not an idiot, just wanting to see if possible. Simply put, it would amuse me to see how.
In other words:
I just wanna see it done.
In other words:
I just wanna see it done.
This post has been edited by Yo!: 10 April 2012 - 07:45 PM
#4
Re: Sudo for php- Apache2
Posted 10 April 2012 - 07:45 PM
Well in that case, this is a question for the apache webserver & not php code. I'll move this topic to the appropriate sub forum.
I would think this would be accomplished easier by adding the www user (or whatever user the apache daemon runs under) to the correct groups under the /etc/groups file.
The user is already required to run with above normal privileges, in order to bind ports.
I would think this would be accomplished easier by adding the www user (or whatever user the apache daemon runs under) to the correct groups under the /etc/groups file.
The user is already required to run with above normal privileges, in order to bind ports.
#5
Re: Sudo for php- Apache2
Posted 10 April 2012 - 07:46 PM
__REMOVED__
This post has been edited by Yo!: 10 April 2012 - 08:30 PM
#6
Re: Sudo for php- Apache2
Posted 16 April 2012 - 06:14 AM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|