LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-19-2002, 02:23 PM   #1
Sridhar Guntur
LQ Newbie
 
Registered: Oct 2002
Location: 808 Ridge Drive apt #110 Dekalb IL-60115
Distribution: RedHat 7.2
Posts: 11

Rep: Reputation: 0
user under which apache tomcat run??


have changed User and Group in httpd.conf file to the non-root user that i usually log into.and i su - and made httpd service to start at startup (by service configuration gui). now the apache server is running fine at startup. Is this the right way of running apache under the user i frequently log into or is there a better way? i also want to run tomcat and postgresql what changes should i make so that there wont be any conflict between users running these different services.can i make these 3 services to be run as the non-root user that i frequently log into?and how do i check which service is being run by which user?
 
Old 10-20-2002, 10:24 AM   #2
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
If you want to know what user a process is running under, open a terminal window (if you're in X then maximize it) and type:

top

From there you can see which user started which process.

I changed my httpd.conf so that it starts as user "nobody", and that is what top shows.

HTH
 
Old 08-28-2003, 01:06 PM   #3
bnfranci
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Here is my situation:

I have a very intricate web app written in java, and would like to put it on the www. The admin where I work want tomcat and apache to be running from a user account not the root account, and I am unsure how to do this.

We have:
apache: 1.3.26
tomcat: 4.0.3
java SDK: 1.4.2

installed.

Any help or guidance would be greatly appreciated.

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
Run tomcat on a local machine through apache indika Linux - Software 0 01-11-2005 02:48 AM
non-root user unable to run tomcat with usb ports mar38 Linux - Software 0 07-21-2004 02:45 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
how can i run my helloworld servlet in apache-tomcat-mod_jk? doublefailure Linux - Software 1 04-28-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:24 AM.

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