LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trying to harden my Slackware 14... (https://www.linuxquestions.org/questions/slackware-14/trying-to-harden-my-slackware-14-a-4175473751/)

Habitual 04-07-2014 10:06 AM

Quote:

Originally Posted by NaTTaN (Post 5011089)
I think it's time to harden the security

Define "security".

ReaperX7 04-07-2014 07:05 PM

Having root login actually is beneficial to Slackware as it allow an administrator a direct login, while sudo can often be hit or miss with certain executions. By allowing root login, an administrator in administrator mode runlevel 2, can easily diagnose and fix a system, and if the passwords are strong and security is properly maintained, root login can be extremely useful as a tool.

I don't recommend it for day-to-day actions, but there are some things you can only do as root that sudo can't.

As far as PAM... PAM can be compromised and if it is compromised it can render a system completely locked out even to root. PAM is best left alone in my opinion.

Geist 04-08-2014 04:53 AM

Quote:

Originally Posted by allend (Post 5148145)
Evidence?

Slackware seems to use the upstream SSH default configuration and that configuration does allow password and remote root login by default.
It also is very lenient on retries and other things.

The SSH config is the first thing I change every time.

moisespedro 04-08-2014 05:28 AM

Is just me or you also have problems on trusting SELinux?

allend 04-08-2014 06:53 AM

Quote:

Slackware seems to use the upstream SSH default configuration and that configuration does allow password and remote root login by default.
It also is very lenient on retries and other things.
Yes - which makes things easier when first configuring ssh.

Quote:

The SSH config is the first thing I change every time.
Good on you. Enforcing protocol 2 only, disabling root login, disabling password authentication and only using authorised keys are all highly desirable configuration changes.

l0rddarkf0rce 04-09-2014 01:07 PM

Quote:

Originally Posted by NaTTaN (Post 5011089)
Hi, had a lot of time without coming to the forum, now I think it's time to harden the security of my Slackware 14, I looked around on google but didn't find a guide applied to Slackware 14 and the ones I found are old..

Can somebody tell me if there's a paper or a guide applied to Slackware 14? and where can I find it?



greetings
NattaN

Quite an old one, but the guide from the Center for Internet Security is a good basic starting guide... https://benchmarks.cisecurity.org/to...hmark_v1.1.pdf


All times are GMT -5. The time now is 04:30 PM.