Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.