LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-05-2003, 08:10 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Root or User?


Hello

I just have a couple of security questions:

#1 Can Apache Web Server Secure run as root or as user ? Can user run Apache?

#2 Can DNS (BIND) run as root or as user? Can user run DNS?

#3 Can Sendmail run as root or as user ? Can user run Sendmail?

Thanks

M.S.
 
Old 04-06-2003, 01:16 AM   #2
ckone
Member
 
Registered: Mar 2003
Location: el paso
Distribution: Redhat, Suse, and freebsd
Posts: 90

Rep: Reputation: 15
This is real simple to answer but I must admit the best way to figure this out is to go to the

Redhat website and look for the online documentation. I'm not sure why so many linux users just don't refer them to reading material.


In the search line just type in users and groups....

If that is not good enough

1. The Apache Server is just intended to post webpages now you can allow users to have there own homepages as well as root to post a webpage. The hole way to limit access is to set directory permissions.
Not allow unwanted personel to have the best method is to set up a group for users and give them limited rights to directory's as well as to check the box asking to set permissions to all other folders below.

But I only find this option in the konqueror window display and not the nautlis window.....


2. Know the dns also can be run as a user as long as he knows the roots
password..... This is just you running a program as a administrator...

3 not sure about.....


Also keep in mind that it is going to depend exactly what you are using and how..

Not sure if you running a real server or just trying to limit people on client/home computer.

Best idea is to read documentation....
Remember just keep it simple.....

later and go luck

you can also set directory rights through the command line but I'm kinda new at this and don't know all the command line commands...
 
Old 04-06-2003, 11:10 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yeah, gotta agree with Ckone some ppl tend to shun the docs...

#1 Can Apache Web Server Secure run as root or as user ?
Both. See RunAs directive in docs and httpd.conf. If you don't utilize the "RunAs" directive a user can only run it on ports >1024.

#2 Can DNS (BIND) run as root or as user?
Both. See the manual for "-u" (IIRC).

#3 Can Sendmail run as root or as user ?
Both. See the Sendmail docs for the RunAsUser, TrusedUser and DefaultUser directives. Because of file access and all making Sendmail run as a non-privileged user is sposed to be a "non-trivial task". If you've got above average requirements exceeding Sendmails' capabilities wrt security, look into an alternative like Postfix or Exim.
 
  


Reply



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
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:40 AM.

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
Open Source Consulting | Domain Registration