LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2003, 10:21 AM   #1
BmxFace
Member
 
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105

Rep: Reputation: 15
Help with getting apache to work in User.


i would like to run apache in user instead of in root...could someone please help me out?
 
Old 11-14-2003, 10:35 AM   #2
icepig
LQ Newbie
 
Registered: Nov 2003
Location: New York
Posts: 20

Rep: Reputation: 0
If you wish httpd to run as a different user or group, you must run
httpd as root initially and it will switch.

Include following lines in httpd.conf
#---------------------
User nobody
Group nobody
#---------------------
 
Old 11-14-2003, 10:46 AM   #3
BmxFace
Member
 
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105

Original Poster
Rep: Reputation: 15
in those lines, litterally "nobody" ? adn do i just throw them at the end of the conf....and right now it isnt litterally running as root? or what?
 
Old 11-14-2003, 11:06 AM   #4
icepig
LQ Newbie
 
Registered: Nov 2003
Location: New York
Posts: 20

Rep: Reputation: 0
This could help you

http://forums.devshed.com/archive/15/2001/10/4/24329
 
Old 11-14-2003, 11:10 AM   #5
BmxFace
Member
 
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105

Original Poster
Rep: Reputation: 15
cool thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running jsps in user home directory doesn't work (Apache Tomcat and mod_userdir) jimieee Linux - Networking 0 03-23-2005 10:12 AM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
got ALSA to work in root, need help getting it to work in my user profile ic3 Slackware 2 11-28-2003 10:32 PM
Apache User? Crashed_Again Linux - Security 2 02-19-2003 07:53 AM
Apache user hubergeek Linux - Networking 5 04-11-2002 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration