Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-01-2011, 02:03 PM
|
#1
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294
Rep:
|
How to Run Apache!! as Root user!!
Hi all,
Is it possible to Run Appache as Root user!!! if yes means is it secure?? please for my web application i am looking this concept!!
Please Guide me guys!!
Thanks In Advance!!!
|
|
|
07-01-2011, 02:17 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by anishkumarv
is it secure??
|
It is not. Whatever your applications problem is, running a web server as root account user is and will never be the solution. In other words here's a chance to state your real problem in detail.
|
|
1 members found this post helpful.
|
07-01-2011, 02:19 PM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,415
|
BTW please stop the excessive exclamation point use in thread titles and sentences.
|
|
|
07-01-2011, 02:38 PM
|
#4
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
running apache as root user is a horrible idea, it's like a company putting their main server rack wide open in the lobby of their office building and leaving them logged in, there is no security whatsoever. If someone manages to take control of your apache server they gain full control of the machine it's running on and i shouldn't have to tell you how bad that is.
perhaps it would be better if you told us what you are trying to accomplish and we can tell you how to do it WITHOUT running apache as root?
Last edited by frieza; 07-01-2011 at 02:39 PM.
|
|
1 members found this post helpful.
|
07-01-2011, 02:47 PM
|
#5
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294
Original Poster
Rep:
|
Hi all,
Thanks for the suggestion,
http://www.linuxquestions.org/questi...e-file-889383/
Please look at this thread guys..
for this problem i think like this. run my application as a root user..
Now the problem is serious , because of this issue nearly 150 tickets i received, my clients not able to write the zone file via application.
Please continue in that post , i closed this thread as solved.
|
|
|
All times are GMT -5. The time now is 07:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|