LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-27-2002, 01:00 AM   #1
saravanan1979
Member
 
Registered: Jan 2002
Posts: 163

Rep: Reputation: 30
Adding nobody to the root group


Hi,
I have a set up a linux machine 6.2 in which i have installed Apache Web server.
Know i want a root user to be the owner of this Apache.I have set up firewall security,disabled the telnet access.Will i still face ant security threats??

Regards
Saravanan
 
Old 04-27-2002, 04:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Yes. Apache should run as it's own user or user "nobody". For example if someone manages to run unauthorized code tru an app running on the webserver, it will be run with the privileges of the user the webserver runs as. For this simple and other reasons you will *not* run Apache as root, and you will *not* make privileged system user "nobody" a member of the root/wheel group.

I'd like to turn the question around. What's the real reason you want it to run as root.
 
Old 04-27-2002, 05:36 AM   #3
saravanan1979
Member
 
Registered: Jan 2002
Posts: 163

Original Poster
Rep: Reputation: 30
Re

Dear Unspawn
Thanks a lot for ur reply
I am hosting a site in PHP,wherein i want to create a emailids for
the users who register in the site in form of mail@mydomain.com.So for this i thought of running a cron job which will collect all the users and create a mail id for them.But now since the requirement was to create a mail id as soon as the users register,i though that i could give root privelege to nobody so that i could create the mail id as soon as the user register.

Regards
Saravanan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
security> adding user or root to a group eeried Linux - Newbie 6 08-08-2008 05:10 AM
Adding a group to a group? caps_phisto Linux - Newbie 4 12-27-2004 12:59 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Adding a group fuelinjection Linux - General 3 12-07-2003 07:14 AM
Adding user account to root group konabumm Linux - Newbie 1 07-31-2003 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration