LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-28-2006, 05:29 PM   #1
subnet_rx
Member
 
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Rep: Reputation: 15
User/Group permissions tutorial?


Can anyone point me to a good user/group configuration tutorial for a web server? I've got some programs running as root and some running as their own user. I'd like to get things organized, and maybe even automated.
 
Old 10-30-2006, 03:26 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Can you give some details about the software on your webserver. If you are running apache, then its started by root but run as the user "apache", or "nobody". Same thing for mysql and other apps.
 
Old 10-30-2006, 01:04 PM   #3
subnet_rx
Member
 
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
Can you give some details about the software on your webserver. If you are running apache, then its started by root but run as the user "apache", or "nobody". Same thing for mysql and other apps.
Well, it's exactly those kinds of things I need to know about. I am running Apache, MySQL, Tomcat, and FTP. I don't know how to run as one user and start as another. I also don't know the best way to give all of these apps permissions for a folder (and sub-folders) but still keep the rest of the server secure.
 
Old 10-31-2006, 03:31 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I think your best option is to read the applications docs if you want to understand which user should be running these servers. Typically only root can start these server apps and once they have been successfully started, control is automatically passed on to the designated user for a particular server app.
 
Old 10-31-2006, 08:13 AM   #5
subnet_rx
Member
 
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Original Poster
Rep: Reputation: 15
yeah, I read up on Apache last night and got it straightened out I think. Tomcat is now my biggest problem since it's documentation about installation on particular OS seems sparse.
 
  


Reply

Tags
permissions


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
user/group permissions prozac Linux - Newbie 4 11-20-2005 11:49 PM
How to set the permissions for a user Group? Akhran Linux - Newbie 6 11-14-2005 07:55 AM
User, Group permissions in Redhat Linux ES 3.0 majicrobot Linux - Security 1 09-25-2004 07:24 AM
user and group ids - individual permissions? LooseCanon Linux - General 2 09-14-2003 12:57 PM
user/group permissions Diane Welch Linux - Newbie 3 05-08-2001 07:03 AM


All times are GMT -5. The time now is 07:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration