- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Apache User Check
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 09:28 AM
09-11-2006 09:28 AM
Apache User Check
We have Apache Web Server installed on Redhat Enterprise Linux, the web server is hosting our company website.
I'm new to web server services. I would like to know, how do we check on what user the web server is running.
Also how do I make it secure.
Thanks in advance for the responses.
Regards
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 10:07 AM
09-11-2006 10:07 AM
Re: Apache User Check
ps auxw |grep httpd
To identify the user that runs tha httpd process.
You can also check the httpd.conf for the options:
User
Group
Normally will be set to Apache.
There are a lot of books about how to secure apache. If you have lucky enough, you can find some ebooks for free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 01:17 PM
09-11-2006 01:17 PM
Re: Apache User Check
As noted apache is usually the owner of the httpd processes.
If you are thinking of changing it, note that the user id of the web server is defined in the /etc/httpd/conf/httpd.conf file.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 07:29 PM
09-11-2006 07:29 PM
Re: Apache User Check
And as for Apache hardening - it's not so trivial, if you take into account dynamic sites with PHP/DB and so on.
But for start:
RHEL manual http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/security-guide/
and
http://xianshield.org/guides/apache2.0guide.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 12:20 AM
09-12-2006 12:20 AM
Re: Apache User Check
I found the webserver is being run by user "nobody" . I hope it to be safe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 01:10 AM
09-12-2006 01:10 AM
Re: Apache User Check
* Most of Apache's functionality is split into different modules. Usually the default configuration includes modules you don't need in your specific situation. Disable the modules you don't need: it makes your configuration simpler to handle, and reducing the amount of running code will also reduce the possibility of security holes.
* Know where Apache (and the scripts and/or CGI programs) needs to be able to write. Then keep the file permissions strict, so that Apache can write to only those files and directories it is required to write, and nowhere else.
* If you create scripts to process input from users, *always* assume the user's input is designed with a hostile intent to cause malfunctions in your script until you have checked it for correctness.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 06:28 AM
09-13-2006 06:28 AM
Re: Apache User Check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 10:10 AM
09-13-2006 10:10 AM
Re: Apache User Check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 08:13 AM
09-14-2006 08:13 AM