LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-07-2020, 09:43 PM   #16
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by wpeckham View Post
All of the above posts were reasonable
If I may add, it depends upon what it is you are trying to secure!
Do you mean in terms of being difficult to break into, in terms of protesting your network, protecting your data, protecting your code...?

One option is a container based distribution. If your web server runs in a container, perhaps a full distro container, then it can be more isolated from both the host and the rest of your network.

Do not forget generational full and incremental backups that allow you a point-in-time recovery and restoration to secure your operation, if that matters.
Why not Virtualization?
 
Old 09-07-2020, 09:47 PM   #17
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
OpenBSD. Not exactly Linux, but not THAT different either.

Plus:
  1. Watch security advisories
  2. Install patches
  3. Use a firewall and an IDS
  4. Disable all services and accounts you don't need
  5. Watch log files (see also number 3)
  6. Other security practices
No Linux Distro like OpenBSD? I know Qubes-OS is secure but it is not OK for server.
Anyone used "ALT Linux" ?
 
Old 09-08-2020, 12:13 AM   #18
kakistocrat
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,756
Blog Entries: 4

Rep: Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971
Quote:
Originally Posted by n00b_noob View Post
No Linux Distro like OpenBSD?
Since you are asking for recommendations, I'd highly recommend either Devuan or else Ubuntu Server Edition, as they are quite bare bones. You can get help with either of them here and Ubuntu Server even has the additional option for paid support for 10 years. They will provide a minimum number of packages at first and then you'll have to add the rest yourself.

As for OpenBSD, it's not a usual operating system. Unlike GNU/Linux or even FreeBSD, it's target audience is itself, its own team of developers. Also, unlike GNU/Linux and, to a limited extent, FreeBSD, they treat the documentation seriously and a bug in the documentation is treated with the same vigor as a potential security problem. However, everyone who uses it is expected to be able to read the documentation and figure things out on their own. That's part of the deal. Based on your questions so far, FreeBSD instead might be more appropriate.
 
Old 09-08-2020, 04:05 AM   #19
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,884

Rep: Reputation: Disabled
A Linux distro specifically aimed at the server would be your best starting point, note I say starting point, as you need to make it secure for your specific usage.

OpenBSD is only as secure as the admin makes it, yes, all the base programs have been security checked by the team, but that is all they guarantee, any additional programs added are down to you to ensure they are securely deployed.
 
Old 09-08-2020, 07:07 AM   #20
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You do realize that it is up to you to harden your web server (or any type of server).
And, just because it is secure today, it will have to be maintained over time to keep it secured.

The server is one part of it.
Your web developers will also have to do their part to keep the server secured.
 
2 members found this post helpful.
Old 09-08-2020, 11:15 AM   #21
kakistocrat
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,756
Blog Entries: 4

Rep: Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971
Quote:
Originally Posted by fatmac View Post
OpenBSD is only as secure as the admin makes it, yes, all the base programs have been security checked by the team, but that is all they guarantee, any additional programs added are down to you to ensure they are securely deployed.
Going a little further on the OpenBSD tangent, Dante Catalfamo recently made a a rather good introductory video providing an overview of OpenBSD:

https://blog.lambda.cx/posts/openbsd-introduction-talk/

The first part of the video has a good survey over some developments where that OS has lead the way in certain improvements. Closer to the middle he has nice overview of various projects derived from OpenBSD development. Then he walks through an installation step by step, which takes only a few minutes even with running commentary. After that, there are some basic system administration tasks and a general system orientation.
 
Old 09-09-2020, 05:12 AM   #22
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Since you are asking for recommendations, I'd highly recommend either Devuan or else Ubuntu Server Edition, as they are quite bare bones. You can get help with either of them here and Ubuntu Server even has the additional option for paid support for 10 years. They will provide a minimum number of packages at first and then you'll have to add the rest yourself.

As for OpenBSD, it's not a usual operating system. Unlike GNU/Linux or even FreeBSD, it's target audience is itself, its own team of developers. Also, unlike GNU/Linux and, to a limited extent, FreeBSD, they treat the documentation seriously and a bug in the documentation is treated with the same vigor as a potential security problem. However, everyone who uses it is expected to be able to read the documentation and figure things out on their own. That's part of the deal. Based on your questions so far, FreeBSD instead might be more appropriate.
Is Devuan OK for server? Why you recommended it? Any extra hardening features?
 
Old 09-09-2020, 05:12 AM   #23
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Original Poster
Rep: Reputation: Disabled
FreeBSD and OpenBSD are better that GNU/Linux in security area?
 
Old 09-09-2020, 05:41 AM   #24
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,318

Rep: Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985
Quote:
Originally Posted by n00b_noob View Post
FreeBSD and OpenBSD are better that GNU/Linux in security area?
what do you mean by that?
As it was already discussed, security depends on the admin, the configuration, the software used (like webserver) and not on the OS itself.
From the other hand as an admin you can make secure all/any of them and you can make them vulnerable too.
The best advice I can give you is: choose your preferred one or the one which you can use/know [better].
 
Old 09-09-2020, 05:44 AM   #25
kakistocrat
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,756
Blog Entries: 4

Rep: Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971
It's about the layers.

OpenBSD, yes, but only in the base system, and even then (as mentioned) depending on what you do to the default configuration. It is important to note that much of the security there (confidentiality, integrity, availability) there depends on concise clear clean code, an emphasis on proper design, careful documentation, and sane defaults.

FreeBSD, maybe, but and depending on which distro you start with and what you do to the default configuration and so on.

Adding a CMS like WordPress, for example, will pull down OpenBSD, FreeBSD and any GNU/Linux distro down to the same level.
 
Old 09-09-2020, 06:31 AM   #26
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,195

Rep: Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952
The most pure answer is "none of them are secure", but some are more security focused than others.

The most useful and correct answer is "the only distribution that is secure is the one an intelligent and informed administrator has secured for the purposes he/she requires and against the specific range of threats they face in their specific use and environment at the current time". Time does not stand still. Security is only what you have if you practice it every single day.

Without knowing you, your training and experience, your specific use, your threat environment, your hardware, and your purpose there is no way to give a complete and comprehensive correct answer. (Anyway, that would require a couple of books worth of text for you to communicate, and a couple more books of test for us to craft an answer, and it might well all be obsolete before we finished.)

We might be able to suggest some places to start, and in fact a couple of smart people already did.
If I might add: no matter what distribution you use, only open what services you absolutely need, secure those as much as possible. Linux rarely gets hacked directly, the attack leverages the open service to give access. Deny access and you prevent the hack.

Also, look at both your services and your networking at the gateway/router level. If you can restrict network access to a service to only the subnets that you want to have access, you block the entire rest of the world from using that access to compromise the system.

If you must open access to the world, ASSUME you could be hacked and not only protect against it but add detection and reaction to your site so that once you are hacked you will KNOW and can react to the threat. (Intrusion Detection is the term to look up.)
 
2 members found this post helpful.
Old 09-09-2020, 08:58 PM   #27
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,932
Blog Entries: 28

Rep: Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353
For what it's worth, I know of two major hosting providers who opt for CentOS for Linux hosting. My website runs on CentOS on one of them.
 
  


Reply


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
Which Linux Distro? Most complete out of the box Linux distro? P@trick99 Linux - Newbie 18 06-18-2014 07:19 AM
LXer: Even the most secure cloud storage may not be so secure, study finds LXer Syndicated Linux News 0 04-23-2014 04:30 AM
Which software is most secure for web-based webhosting? SentralOrigin Linux - Server 6 01-04-2012 03:28 AM
Which distro of UNIX/LINUX is the most secure and cracker,virus free ?? pleasehelpme Linux - Newbie 3 05-08-2005 11:25 AM
Which Linux distro is most secure?? StamfordRob Linux - Security 14 02-25-2002 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:10 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