![]() |
|
#1
|
|||
|
|||
|
In light of another thread, I would like to discuss necessary security measures one should implement on any given Linux server. For the sake of argument, let's say we have several servers running a website, an sql database, a file server, and an email server.
I'm in the process of setting up my very first file server on a VLAN. It happens to be an Ubuntu 12.04 server, but I will also be installing a Centos server in the future. I will eventually set up an email, web, and sql server as well. Utlimately they will face the internet. But I want to learn the basics before I unleash them upon the world. I'm interested in your personal opinions, links to articles, tutorials, horror stories. Pretty much anything because it's all brand new to me. Thanks! |
|
#2
|
||||
|
||||
|
Remove the UI =p
__________________
|
|
#3
|
||||
|
||||
|
Quote:
![]()
__________________
Win 7 x64(gaming); Sandboxie/Mbam paid Linux Mint x64(everything else); http://linuxmint.com/ |
|
#4
|
||||
|
||||
|
Reduce attack surface a ton and avoid keylogging through X.
__________________
|
|
#5
|
|||
|
|||
|
Brandi, do you plan on running all of the services on a single box?
Mrk
__________________
http://www.dedoimedo.com All your base are belong to us Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA |
|
#6
|
||||
|
||||
|
Quote:
I doubt it would reduce the attack surface by much, most people just don't have a UI on a server because it's not needed. Waste of resources. |
|
#7
|
||||
|
||||
|
Do "sudo apt-get remove unity" (or whatever your DM is) and see how many dependencies it tries to remove.
__________________
|
|
#8
|
||||
|
||||
|
Of course, removing anything unneeded will improve the potential security. Didn't think Ubuntu Server came with a UI anyway?
|
|
#9
|
||||
|
||||
|
I don't think so but I believe brandi is running with a UI.
__________________
|
|
#10
|
||||
|
||||
|
I assume you mean GUI and not UI or else that include command line as well...
|
|
#11
|
||||
|
||||
|
I suppose.
__________________
|
|
#12
|
|||
|
|||
|
OK that was just amusing.
I'm running an Ubuntu server without a GUI in fact. It does have a command line. It is not headless if that's what you meant Hungry Man. Mr.Kvonic, your question is one of the things I was driving at. I presume that one would not want to run all the services on one machine, but I don't know if it's best practice to dedicate one machine per service or keep some of them on one device (or for that matter how I would decide one way or the other). Advice/links/tutorials in this regard would be appreciated. |
|
#13
|
|||
|
|||
|
Well, if you can, you might want to separate those.
It's easier for management, and more beneficial for security. You will have more fine-grained control of what goes on your boxes. Mrk
__________________
http://www.dedoimedo.com All your base are belong to us Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA |
|
#14
|
||||
|
||||
|
sorry to ask but what wrong with these
Zentyal or clearOS http://www.wilderssecurity.com/showthread.php?t=324873
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp |
|
#15
|
|||
|
|||
|
Here is a pretty good guide for RedHat 5, you can amend it to Ubuntu, some of the fields are outdated, though the principles addressed are still very relevant and can help you harden your linux server.
__________________
http://tools.ietf.org/html/rfc3514 Last edited by EncryptedBytes : June 11th, 2012 at 09:23 AM. |
|
#16
|
|||
|
|||
|
Quote:
@mack_guy911: I want to learn what needs to be configured and how to configure a server with security in mind. There are some other out-of-the-box secure servers out there that you may be interested in, I'll post those in the other thread. |
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|