The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installation an application on AIX leenguyen0101 AIX 2 03-24-2008 03:20 PM
script to create users on many servers dnidiffer Shell Programming and Scripting 1 09-24-2005 11:32 PM
Application servers, proper usage jonwillog UNIX for Dummies Questions & Answers 1 08-22-2005 06:19 PM
installation of Solaris: installation bypasses network config. cadmiumgreen SUN Solaris 2 07-15-2005 07:31 PM
UNIX Database / Application Installation OllieTech UNIX for Dummies Questions & Answers 3 08-19-2003 08:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-09-2008
Registered User
 

Join Date: Mar 2008
Posts: 4
Application Servers Installation and Users

Hi,

When most of the server applications get installed, they create their own user. I believe this is to not use the "root" account. For example, Apache when installed creates a user called "apache". And the directories which it uses are all owned by this user. This seems to be the "professional" way of installing applications.

Is there any terminology for this kind of deployment? If I have to install a similar kind of server application, what are the steps that I need to take care? Has anyone written a blog post explaining these things? Or is there any standard guidelines published somewhere?

Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 04-09-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Debian policy call these "system users" but there's not much on the topic in there. Debian Policy Manual - The Operating System

AccountHandlingInMaintainerScripts - Debian Wiki also has some discussion from a Debian perspective.

I'm not saying Debian is necessarily the best role model but they tend to have documentation for these kinds of things. Turns out even they don't have much.

I believe the recommendation for e.g. Apache is actually to have two different accounts, where www-data owns the actual files served by the application, and apache (I guess) is the account which runs the daemon. The reasoning is that if the daemon is broken into, you have partitioned the ownerships so that it can't damage the files (it only need to read them to serve them, after all).
Reply With Quote
  #3  
Old 04-09-2008
Registered User
 

Join Date: Mar 2008
Posts: 4
Thanks era, I will look into it.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0