Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st December 2004, 06:08 PM
legbend Offline
Registered User
 
Join Date: Nov 2004
Posts: 15
Newb Web server security question...

I've installed FC3 on my dual EM64T box to run as a web server. I did all of the removal and adding of programs as Root user. Does this create an issue w/ security as far as access, permissions, etc?
Reply With Quote
  #2  
Old 1st December 2004, 10:06 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
No. You need root access to install things. The issue is when you run things as root, because root can do anything.
Reply With Quote
  #3  
Old 2nd December 2004, 05:42 PM
legbend Offline
Registered User
 
Join Date: Nov 2004
Posts: 15
How can you tell if something is being run AS root? I'm running Apache2 + MySQL4.1 as services, those shouldn't be effected, right?
Reply With Quote
  #4  
Old 2nd December 2004, 05:49 PM
Tashiro Offline
Retired Community Manager
 
Join Date: May 2004
Posts: 1,149
Type at the console:
Code:
whoami
Tashiro

Edit: oops that is not what you asked.
__________________
Respect the FedoraForum.org guidelines
Reply With Quote
  #5  
Old 3rd December 2004, 12:23 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Shouldn't be a problem. Run
Code:
top
in a terminal, press u and enter root. Then you will see all processes owned by root.
Reply With Quote
  #6  
Old 3rd December 2004, 06:28 PM
legbend Offline
Registered User
 
Join Date: Nov 2004
Posts: 15
Quote:
Originally Posted by Jman
Shouldn't be a problem. Run
Code:
top
in a terminal, press u and enter root. Then you will see all processes owned by root.

is there anything specific I should look out for? my list looks something like this:

X
top
init
migration
ksoftirq
events
khelper
kblockd
pdflush
events
konsole
aio
Reply With Quote
  #7  
Old 4th December 2004, 06:38 PM
maikeru Offline
Registered User
 
Join Date: Dec 2004
Location: Hyogo, Japan
Posts: 1
It looks like you're probably not running Apache as root. The process to look out for is httpd. Just to make sure though I'd run this command:
Code:
ps -ef|grep httpd
You should get a list of all your Apache processes with various details. The name of the user running each process should appear at the far left (at least it does for me). If it says root, then you're running Apache as root...
Reply With Quote
  #8  
Old 7th December 2004, 05:47 PM
ltam Offline
Registered User
 
Join Date: Dec 2004
Posts: 254
I believe the httpd.conf names the user that runs the process. I think the default is apache.
Reply With Quote
Reply

Tags
newb, question, security, server, web

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS,LDAP,AUTOMOUNT,AUTOFS Server (security question) gimli Servers & Networking 8 16th January 2007 09:42 PM
wrong address?(grew into a server security question.) ShizlacTheGreat Servers & Networking 3 27th July 2006 04:36 AM
Newb question? STCninja Using Fedora 6 1st April 2006 12:46 AM
Newb question about kernels... fromans4 Installation and Live Media 7 26th June 2005 12:08 AM


Current GMT-time: 18:22 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat